Memory Management
Primary memory is the direct access storage for CPU.
Programs must be stored in memory to execute.
OS must:
- allocate memory space for programs (both explicitly and implicitly)
- deallocate memory space when needed
- maintain the mappings from virtual to physical memory (page tables)
- decide how much memory to allocate to each process, and when a process should be removed from memory (policies)