摘要 |
A method for managing memory in a computing system having a defined virtual address space and a physical memory. The virtual address space is partitioned into an upper portion and a lower portion. All of the physical memory is mapped to the lower portion of the virtual address space. A task comprising code static data, and heap data structures are executed by copying the code data structures of the task to the physical memory. A contiguous region of physical memory is allocated to the task's data structures. The contiguous region of physical memory is mapped into a segment of the upper portion of the virtual address space. The task's data structures can be expanded by mapping additional physical address space to the task's upper segment or by moving the entire data structures to a second contiguous region of physical memory.
|