Who Owns Virtual Memory and Who Allocated it?

In this section we take a look at the primary system structures used in memory management and how they are located using the Dump Formatter and Kernel Debugger. These structures are:

The examples worked in this section illustrate:

Memory allocations have many attributes, included among which are:

The composite set of attributes associated with a memory allocation is refered to as a memory object. OS/2's virtal memory manager tracks memory objects using arena, object and context records.

We start by looking at the arena record, which is used to record virtual address assignements to memory objects.

The entire system address space of 4 gigabytes is partitioned into three types of memory arena:

System Arena

Shared Arena Private Arena

The private arena upper boundary and shared arena lower boundary may grow towards each other but not overlap.

These worked examples now follow:


[Back: Exploring Memory Management]
[Next: Exploring Arena Records]