Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.c Create Date:2022-07-28 07:48:40
Last Modify:2020-03-16 17:03:44 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:disable_TSC

Proto:void disable_TSC(void)

Type:void

Parameter:Nothing

200  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
201  If Not test_and_set_thread_flag(TSC is not accessible in userland ) Then Set in this cpu's CR4.
207  preempt_enable()
Caller
NameDescribe
set_tsc_mode