Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\pgtable.h Create Date:2022-07-28 06:00:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This is a noop if Transparent Hugepage Support is not built into* the kernel

Proto:static inline int pmd_trans_unstable(pmd_t *pmd)

Type:int

Parameter:

TypeParameterName
pmd_t *pmd
1062  Return 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
Caller
NameDescribe
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