Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmemmap_pud_populate

Proto:pud_t *__meminit vmemmap_pud_populate(p4d_t *p4d, unsigned long addr, int node)

Type:pud_t

Parameter:

TypeParameterName
p4d_t *p4d
unsigned longaddr
intnode
182  pud = pud_offset(p4d, addr)
183  If The "pud_xxx()" functions here are trivial for a folded two-level* setup: the pmd is never bad, and a pmd always exists (as it's folded* into the pud entry) Then
184  p = vmemmap_alloc_block_zero(PAGE_SIZE, node)
185  If Not p Then Return NULL
187  pud_populate( & For dynamically allocated mm_structs, there is a dynamically sized cpumask* at the end of the structure, the size of which depends on the maximum CPU* number the system can see, pud, p)
189  Return pud
Caller
NameDescribe
vmemmap_populate_basepages