函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgtable.h Create Date:2022-07-27 06:58:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pmd_bad

函数原型:static inline int pmd_bad(pmd_t pmd)

返回类型:int

参数:

类型参数名称
pmd_tpmd
841  返回:pmd_flags(pmd)按位与_PAGE_USER的反的值不等于_KERNPG_TABLE
调用者
名称描述
follow_page_pte
__follow_pte_pmd
pmd_none_or_clear_bad_unless_trans_hugeUsed when setting automatic NUMA hinting protection where it is* critical that a numa hinting PMD is not confused with a bad PMD.
vmalloc_to_pageWalk a vmap address to the struct page it maps.
shadow_mapped
hmm_vma_walk_pmd
pmd_none_or_clear_bad
pmd_none_or_trans_huge_or_clear_badThis function is meant to be used by sites walking pagetables with* the mmap_sem hold in read mode to protect against MADV_DONTNEED and* transhuge page faults