Notes on Memory Management
From Ggl's wiki
Overview
An operating system provides a linear logical address space to its processes. If a single task is running the logical address space can be the same as the physical address space. When an operation systems allows multiple tasks to run, these tasks are scheduled and run one at a time. At the time the process starts, the kernel maps the process into memory. When the kernel schedules the process to run another process, both may no fit in memory. Some pages of the first process are paged out on disk. When the first process is scheduled back, the kernel may remap the page at another logical address. In this case the kernel needs to update the mapping between the logical address and the physical address.
References
- Before Memory was Virtual by Peter Denning (1997)
- Papers on Working Sets and Virtual Memory by Peter Denning
- Linux Virtual Memory by Mel Gorman

