Managing Data Structure Creation
Starting with kernel 2.6.10, a generic framework was provided to transfer this information into the node and zone data structures expected by the buddy system; before this, each architecture had to set up the structures on its own. Today, it suffices to set up the aforementioned simple structures and leave the hard work to free_area_init_nodes. Figure 3-27 shows an overview of the process, and Figure 3-28 shows the code flow diagram for free_area_init_nodes.
Architecture-specific initialization \
/Set max page frame numbers for zones
Generic representation of nodes and zones
Generic representation of nodes and zones free_area_init_nodes
Was this article helpful?