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:42
Last Modify:2020-03-16 17:03:44 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:disable_cpuid

Proto:static void disable_cpuid(void)

Type:void

Parameter:Nothing

261  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.()
262  If Not test_and_set_thread_flag(CPUID is not accessible in userland ) Then
267  set_cpuid_faulting(true)
269  preempt_enable()
Caller
NameDescribe
set_cpuid_mode