Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\sparse.c Create Date:2022-07-28 15:34:19
Last Modify:2020-03-17 22:36:03 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Record a memory area against a node.

Proto:void __init memory_present(int nid, unsigned long start, unsigned long end)

Type:void

Parameter:

TypeParameterName
intnid
unsigned longstart
unsigned longend
275  start &= PAGE_SECTION_MASK
276  Validate the physical addressing limitations of the model
277  When pfn < end cycle
278  section = pfn_to_section_nr(pfn)
281  sparse_index_init(section, nid)
282  set_section_nid(section, nid)
284  ms = __nr_to_section(section)
285  If Not section_mem_map Then
Caller
NameDescribe
memblocks_presentMark all memblocks as present using memory_present(). This is a* convienence function that is useful for a number of arches* to mark all of the systems memory as present during initialization.