Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\pgtable-generic.c Create Date:2022-07-28 14:55:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pmdp_invalidate

Proto:pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp)

Type:pmd_t

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longaddress
pmd_t *pmdp
197  old = pmdp_establish(vma, address, pmdp, pmd_mknotpresent( * pmdp))
198  ARCHes with special requirements for evicting THP backing TLB entries can* implement this(vma, address, address + HPAGE_PMD_SIZE)
199  Return old
Caller
NameDescribe
madvise_cold_or_pageout_pte_range
madvise_free_huge_pmdReturn true if we do MADV_FREE successfully on entire pmd page.* Otherwise, return false.
change_huge_pmdReturns* - 0 if PMD could not be locked* - 1 if PMD was locked but protections unchange and TLB flush unnecessary* - HPAGE_PMD_NR is protections changed and TLB flush necessary
__split_huge_pmd_locked