Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The 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

Proto:static int pmd_devmap_trans_unstable(pmd_t *pmd)

Type:int

Parameter:

TypeParameterName
pmd_t *pmd
3288  Return pmd_devmap( * pmd) || This is a noop if Transparent Hugepage Support is not built into* the kernel
Caller
NameDescribe
pte_alloc_one_map
handle_pte_faultThese routines also need to handle stuff like marking pages dirty* and/or accessed for architectures that don't do it in hardware (most* RISC architectures)