Chapter 6. Managing Memory

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.”

Get HP-UX 11i Internals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.