函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\mwait.h Create Date:2022-07-27 08:23:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static inline void mwait_idle_with_hints(unsigned long eax, unsigned long ecx)

返回类型:void

参数:

类型参数名称
unsigned longeax
unsigned longecx
109  如果static_cpu_has_bug(IPI required to wake up remote CPU )或非current_set_polling_and_test()则
112  clflush((void * ) & flags)
116  __monitor((void * ) & flags, 0, 0)
117  如果非need_resched()则__mwait(eax, ecx)
120  current_clr_polling()
调用者
名称描述
acpi_processor_ffh_cstate_enter