Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\common.c Create Date:2022-07-28 07:54:58
Last Modify:2020-03-16 20:28:31 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Once CPU feature detection is finished (and boot params have been* parsed), record any of the sensitive CR bits that are set, and* enable CR pinning.

Proto:static void __init setup_cr_pinning(void)

Type:void

Parameter:Nothing

435  mask = X86_CR4_SMEP | X86_CR4_SMAP | X86_CR4_UMIP
436  cr4_pinned_bits = Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(cr4) & mask
437  static_key_enable( & key)
Caller
NameDescribe
identify_boot_cpu