Shared Objects

To understand the mechanics of region sharing, let's revisit the virtual addressing. The virtual address is really only of concern from the process's point of view. In order for a process thread to run, the kernel must first set up the processor space registers to point to the process's four quadrants. Once the environment has been initialized for a thread, future context switches for the thread will simply save and restore these as part or the thread's process control block (pcb) in its uarea. The representation of the VAS as a large checkerboard helps us visualize and discuss memory management concepts.

As the process maps its logical pregions to the VAS, the process's pregions must be ordered so that no two overlap within the ...

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.