Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pmdp_huge_clear_flush

Proto:pmd_t pmdp_huge_clear_flush(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
137  VM_BUG_ON(address & ~HPAGE_PMD_MASK)
138  VM_BUG_ON((pmd_present( * pmdp) && !pmd_trans_huge( * pmdp) && !pmd_devmap( * pmdp)) || !pmd_present( * pmdp))
140  pmd = pmdp_huge_get_and_clear(The address space we belong to. , address, pmdp)
141  ARCHes with special requirements for evicting THP backing TLB entries can* implement this(vma, address, address + HPAGE_PMD_SIZE)
142  Return pmd
Caller
NameDescribe
__split_huge_zero_page_pmd