Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmemmap_p4d_populate

Proto:p4d_t *__meminit vmemmap_p4d_populate(pgd_t *pgd, unsigned long addr, int node)

Type:p4d_t

Parameter:

TypeParameterName
pgd_t *pgd
unsigned longaddr
intnode
194  p4d = p4d_offset(pgd, addr)
195  If The "p4d_xxx()" functions here are trivial for a folded two-level* setup: the pud is never bad, and a pud always exists (as it's folded* into the p4d entry) Then
196  p = vmemmap_alloc_block_zero(PAGE_SIZE, node)
197  If Not p Then Return NULL
199  p4d_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, p4d, p)
201  Return p4d
Caller
NameDescribe
vmemmap_populate_basepages