Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:section_mark_present

Proto:static void section_mark_present(struct mem_section *ms)

Type:void

Parameter:

TypeParameterName
struct mem_section *ms
193  section_nr = __section_nr(ms)
195  If section_nr > There are a number of times that we loop over NR_MEM_SECTIONS,* looking for section_present() on each Then There are a number of times that we loop over NR_MEM_SECTIONS,* looking for section_present() on each = section_nr
198  section_mem_map |= SECTION_MARKED_PRESENT
Caller
NameDescribe
memory_presentRecord a memory area against a node.
sparse_add_sectionsparse_add_section - add a memory section, or populate an existing one*@nid: The node to add section on*@start_pfn: start pfn of the memory range*@nr_pages: number of pfns to add in the section*@altmap: device page map* This is only intended for hotplug