函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-27 06:58:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:write_pkru

函数原型:static inline void write_pkru(u32 pkru)

返回类型:void

参数:

类型参数名称
u32pkru
140  如果非boot_cpu_has(OS Protection Keys Enable )则返回
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  如果pkpkru等于pkru
153  __write_pkru(pkru)
154  fpregs_unlock()