1ADD_ACTIVE_RANGE(9) Memory Management in Linux ADD_ACTIVE_RANGE(9)
2
3
4
6 add_active_range - Register a range of PFNs backed by physical memory
7
9 void add_active_range(unsigned int nid, unsigned long start_pfn,
10 unsigned long end_pfn);
11
13 nid
14 The node ID the range resides on
15
16 start_pfn
17 The start PFN of the available physical memory
18
19 end_pfn
20 The end PFN of the available physical memory
21
23 These ranges are stored in an early_node_map[] and later used by
24 free_area_init_nodes to calculate zone sizes and holes. If the range
25 spans a memory hole, it is up to the architecture to ensure the memory
26 is not freed by the bootmem allocator. If possible the range being
27 registered will be merged with existing ranges.
28
30Kernel Hackers Manual 2.6. June 2019 ADD_ACTIVE_RANGE(9)