1FREE_AREA_INIT_NODES(9)   Memory Management in Linux   FREE_AREA_INIT_NODES(9)
2
3
4

NAME

6       free_area_init_nodes - Initialise all pg_data_t and zone data
7

SYNOPSIS

9       void free_area_init_nodes(unsigned long * max_zone_pfn);
10

ARGUMENTS

12       max_zone_pfn
13           an array of max PFNs for each zone
14

DESCRIPTION

16       This will call free_area_init_node for each active node in the system.
17       Using the page ranges provided by add_active_range, the size of each
18       zone in each node and their holes is calculated. If the maximum PFN
19       between two adjacent zones match, it is assumed that the zone is empty.
20       For example, if arch_max_dma_pfn == arch_max_dma32_pfn, it is assumed
21       that arch_max_dma32_pfn has no pages. It is also assumed that a zone
22       starts where the previous one ended. For example, ZONE_DMA32 starts at
23       arch_max_dma_pfn.
24
26Kernel Hackers Manual 3.10         June 2019           FREE_AREA_INIT_NODES(9)
Impressum