table of contents
other versions
- wheezy 3.2.78-1
ADD_ACTIVE_RANGE(9) | Memory Management in Linux | ADD_ACTIVE_RANGE(9) |
NAME¶
add_active_range - Register a range of PFNs backed by physical memorySYNOPSIS¶
void
add_active_range(unsigned int nid,
unsigned long start_pfn,
unsigned long end_pfn);
ARGUMENTS¶
nidThe node ID the range resides on
start_pfn
The start PFN of the available physical
memory
end_pfn
The end PFN of the available physical
memory
DESCRIPTION¶
These ranges are stored in an early_node_map[] and later used by free_area_init_nodes to calculate zone sizes and holes. If the range spans a memory hole, it is up to the architecture to ensure the memory is not freed by the bootmem allocator. If possible the range being registered will be merged with existing ranges.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |