Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tsc_store_and_check_tsc_adjust

Proto:bool __init tsc_store_and_check_tsc_adjust(bool bootcpu)

Type:bool

Parameter:

TypeParameterName
boolbootcpu
116  cur = this_cpu_ptr( & tsc_adjust)
119  If Not boot_cpu_has(TSC adjustment MSR 0x3B ) Then Return false
123  If check_tsc_unstable() Then Return false
126  rdmsrl(MSR_IA32_TSC_ADJUST, bootval)
127  bootval = bootval
128  nextcheck = jiffies + HZ
129  tsc_sanitize_first_cpu(cur, bootval, smp_processor_id(), bootcpu)
130  Return false
Caller
NameDescribe
tsc_enable_sched_clock