函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This is a noop if Transparent Hugepage Support is not built into* the kernel

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

返回类型:int

参数:

类型参数名称
pmd_t *pmd
1062  返回:This 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
调用者
名称描述
follow_pmd_mask
do_anonymous_pageWe enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with mmap_sem still held, but pte unmapped and unlocked.
pmd_devmap_trans_unstableThe ordering of these checks is important for pmds with _PAGE_DEVMAP set.* If we check pmd_trans_unstable() first we will trip the bad_pmd() check* inside of pmd_none_or_trans_huge_or_clear_bad(). This will end up correctly
mincore_pte_range
change_pte_range
move_page_tables
walk_pmd_range
madvise_cold_or_pageout_pte_range
madvise_free_pte_range
queue_pages_pte_rangeScan through pages checking if pages follow certain conditions,* and move them to the pagelist if they do
mem_cgroup_count_precharge_pte_range
mem_cgroup_move_charge_pte_range