Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmemmap_pte_populate

Proto:pte_t *__meminit vmemmap_pte_populate(pmd_t *pmd, unsigned long addr, int node)

Type:pte_t

Parameter:

TypeParameterName
pmd_t *pmd
unsigned longaddr
intnode
145  pte = pte_offset_kernel(pmd, addr)
146  If pte_none( * pte) Then
148  p = d to make sure size is all the same during early stage
149  If Not p Then Return NULL
151  entry = pfn_pte(__pa(p) >> PAGE_SHIFT determines the page size , PAGE_KERNEL)
152  set_pte_at( & 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, addr, pte, entry)
154  Return pte
Caller
NameDescribe
vmemmap_populate_basepages