Initializing the Zone and Node Data Structures

Until now, we have only seen how the kernel detects the available memory in the system in the architecture-specific code. The association with higher-level structures — zones and nodes — needs to be constructed from this information. Recall that architectures are required to established the following information during boot:

□ The page frame boundaries of the various zones in the system as stored in the max_zone_pfn array.

□ The distribution of page frames across nodes as stored in the global variable early_node_map.

Continue reading here: Managing Data Structure Creation

Was this article helpful?

0 0