Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This can be used from process context to figure out what the value of* CR3 is without needing to do a (slow) __read_cr3().* It's intended to be used for code like KVM that sneakily changes CR3* and needs to restore it. It needs to be used very carefully.

Proto:static inline unsigned long __get_current_cr3_fast(void)

Type:unsigned long

Parameter:Nothing

352  cr3 = build_cr3(pgd, Operations with implied preemption/interrupt protection. These* operations can be used without worrying about preemption or interrupt.(loaded_mm_asid))
356  VM_WARN_ON(in_nmi() || preemptible())
358  VM_BUG_ON(cr3 != Careful! CR3 contains more than just an address. You probably want* read_cr3_pa() instead.)
359  Return cr3