函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__monitor

函数原型:static inline void __monitor(const void *eax, unsigned long ecx, unsigned long edx)

返回类型:void

参数:

类型参数名称
const void *eax
unsigned longecx
unsigned longedx
30  asm volatile
调用者
名称描述
mwait_idleMONITOR/MWAIT with no hints, used for default C1 state. This invokes MWAIT* with interrupts enabled and no flags, which is backwards compatible with the* original MWAIT implementation.
mwait_idle_with_hintsThis 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