函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.c Create Date:2022-07-27 08:48:49
Last Modify:2020-03-16 17:03:44 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static int prefer_mwait_c1_over_halt(const struct cpuinfo_x86 *c)

返回类型:int

参数:

类型参数名称
const struct cpuinfo_x86 *c
789  如果CPU vendor 不等于X86_VENDOR_INTEL则返回:0
792  如果非cpu_has(c, "monitor" MONITOR/MWAIT support )或boot_cpu_has_bug(IPI required to wake up remote CPU )则返回:0
795  返回:1
调用者
名称描述
select_idle_routine