Function report | 
Source Code:arch\x86\include\asm\mwait.h | 
Create Date:2022-07-28 07:24:37 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:This uses new MONITOR/MWAIT instructions on P4 processors with PNI,* which can obviate IPI to trigger checking of need_resched.* We execute MONITOR against need_resched and enter optimized wait state* through MWAIT
Proto:static inline void mwait_idle_with_hints(unsigned long eax, unsigned long ecx)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | eax | |
| unsigned long | ecx | 
| 109 | If static_cpu_has_bug(IPI required to wake up remote CPU ) || Not current_set_polling_and_test() Then | 
| 110 | If static_cpu_has_bug(AAI65, CLFLUSH required before MONITOR ) Then | 
| 117 | If Not need_resched() Then __mwait(eax, ecx) | 
| 120 | current_clr_polling() | 
| Name | Describe | 
|---|---|
| acpi_processor_ffh_cstate_enter | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |