Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmemmap_pmd_populate

Proto:pmd_t *__meminit vmemmap_pmd_populate(pud_t *pud, unsigned long addr, int node)

Type:pmd_t

Parameter:

TypeParameterName
pud_t *pud
unsigned longaddr
intnode
170  pmd = pmd_offset(pud, addr)
171  If pmd_none( * pmd) Then
172  p = vmemmap_alloc_block_zero(PAGE_SIZE, node)
173  If Not p Then Return NULL
175  pmd_populate_kernel( & 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, pmd, p)
177  Return pmd
Caller
NameDescribe
vmemmap_populate_basepages