Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\umwait.c Create Date:2022-07-28 07:56:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:umwait_update_control_msr

Proto:static void umwait_update_control_msr(void *unused)

Type:void

Parameter:

TypeParameterName
void *unused
40  lockdep_assert_irqs_disabled()
41  wrmsr(MSR_IA32_UMWAIT_CONTROL, READ_ONCE(Cache IA32_UMWAIT_CONTROL MSR. This is a systemwide control. By default,* umwait max time is 100000 in TSC-quanta and C0.2 is enabled), 0)
Caller
NameDescribe
umwait_cpu_onlineThe CPU hotplug callback sets the control MSR to the global control* value
umwait_syscore_resumeOn resume, restore IA32_UMWAIT_CONTROL MSR on the boot processor which* is the only active CPU at this time