In this chapter,we examine HP-UX memory management by looking at systemwide memory resources. Figure 6-1 shows the various forms of memory the kernel must manage. We examine how the per-process memory areas are allocated from systemwide memory and how the kernel's virtual memory is mapped to physical memory. We also look at how free memory and swap space are allocated and managed.
Figure 6-1. Types of Memory
Now we can begin to see the challenge faced by the kernel architects. Memory management is not just a simple case of "use a page, free a page."