Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\mtrr\generic.c Create Date:2022-07-28 08:06:19
Last Modify:2022-05-18 17:45:43 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:post_set

Proto:static void post_set(void)__releases(set_atomicity_lock)

Type:void

Parameter:Nothing

780  count_vm_tlb_event(NR_TLB_LOCAL_FLUSH_ALL)
781  __flush_tlb()
784  Doesn't attempt to pass an error out to MTRR users* because it's quite complicated in some cases and probably not* worth it because the best error handling is to ignore it.
787  write_cr0(read_cr0() & ~X86_CR0_CD)
790  If boot_cpu_has(Page Global Enable ) Then __write_cr4(cr4)
792  raw_spin_unlock( & set_atomicity_lock)
Caller
NameDescribe
mtrr_bp_pat_initPAT setup for BP. We need to go through sync steps here
generic_set_all
generic_set_mtrrgeneric_set_mtrr - set variable MTRR register on the local CPU.*@reg: The register to set.*@base: The base address of the region.*@size: The size of the region. If this is 0 the region is disabled.*@type: The type of the region.* Returns nothing.