Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\pgalloc.h Create Date:2022-07-28 05:55:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pmd_populate

Proto:static inline void pmd_populate(struct mm_struct *mm, pmd_t *pmd, struct page *pte)

Type:void

Parameter:

TypeParameterName
struct mm_struct *mm
pmd_t *pmd
struct page *pte
80  pfn = page_to_pfn(pte)
82  paravirt_alloc_pte(mm, pfn)
83  set_pmd(pmd, __pmd(((pteval_t)pfn << PAGE_SHIFT determines the page size ) | _PAGE_TABLE))
Caller
NameDescribe
__pte_alloc
pte_alloc_one_map
do_huge_pmd_wp_page_fallback
__split_huge_zero_page_pmd
__split_huge_pmd_locked
collapse_huge_page