Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-28 05:59:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:write_pkru

Proto:static inline void write_pkru(u32 pkru)

Type:void

Parameter:

TypeParameterName
u32pkru
140  If Not boot_cpu_has(OS Protection Keys Enable ) Then Return
143  pk = get_xsave_addr( & xsave, XFEATURE_PKRU)
150  Use fpregs_lock() while editing CPU's FPU registers or fpu->state.* A context switch will (and softirq might) save CPU's FPU registers to* fpu->state and set TIF_NEED_FPU_LOAD leaving CPU's FPU registers in* a random state.
151  If pk Then pkru = pkru
153  __write_pkru(pkru)
154  fpregs_unlock()