函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\pgtable-generic.c Create Date:2022-07-27 16:24:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pmdp_invalidate

函数原型:pmd_t pmdp_invalidate(struct vm_area_struct *vma, unsigned long address, pmd_t *pmdp)

返回类型:pmd_t

参数:

类型参数名称
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  返回:old
调用者
名称描述
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