Function report | 
Source Code:arch\x86\kernel\process.c | 
Create Date:2022-07-28 07:48:48 | 
| Last Modify:2020-03-16 17:03:44 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Intel Core2 and older machines prefer MWAIT over HALT for C1.* We can't rely on cpuidle installing MWAIT, because it will not load* on systems that support only C1 -- so the boot default must be MWAIT.
Proto:static int prefer_mwait_c1_over_halt(const struct cpuinfo_x86 *c)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const struct cpuinfo_x86 * | c | 
| 789 | If CPU vendor != X86_VENDOR_INTEL Then Return 0 | 
| 792 | If Not cpu_has(c, "monitor" MONITOR/MWAIT support ) || boot_cpu_has_bug(IPI required to wake up remote CPU ) Then Return 0 | 
| 795 | Return 1 | 
| Name | Describe | 
|---|---|
| select_idle_routine | 
| 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  |