Function report |
Source Code:mm\sparse.c |
Create Date:2022-07-28 15:34:23 |
Last Modify:2020-03-17 22:36:03 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sparse_init_one_section
Proto:static void __meminit sparse_init_one_section(struct mem_section *ms, unsigned long pnum, struct page *mem_map, struct mem_section_usage *usage, unsigned long flags)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_section * | ms | |
unsigned long | pnum | |
struct page * | mem_map | |
struct mem_section_usage * | usage | |
unsigned long | flags |
337 | section_mem_map &= ~SECTION_MAP_MASK |
338 | section_mem_map |= Subtle, we encode the real pfn into the mem_map such that* the identity pfn - section_mem_map will return the actual* physical page frame number. | SECTION_HAS_MEM_MAP | flags |
Name | Describe |
---|---|
sparse_init_nid | Initialize sparse on a specific node. The node spans [pnum_begin, pnum_end)* And number of present sections in this node is map_count. |
sparse_add_section | sparse_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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |