Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:touch_pmd

Proto:static void touch_pmd(struct vm_area_struct *vma, unsigned long addr, pmd_t *pmd, int flags)

Type:void

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longaddr
pmd_t *pmd
intflags
927  _pmd = pmd_mkyoung( * pmd)
928  If flags & check pte is writable Then _pmd = pmd_mkdirty(_pmd)
930  If pmdp_set_access_flags(vma, addr & HPAGE_PMD_MASK, pmd, _pmd, flags & check pte is writable ) Then update_mmu_cache_pmd(vma, addr, pmd)
Caller
NameDescribe
follow_devmap_pmd
follow_trans_huge_pmd