Virtual Memory

Motivation

(Program) Memory is a lie

Goals of a Virtual Memory Management System

  1. Use main memory efficiently
  2. Simplify memory management (for application developers)
  3. Isolate process address spaces

Address Translation

Mapping address-by-address

Mapping the address space

Aside: Hardware Support

Segmentation

Paging

Page Tables

To follow. For now check out OSTEP Ch. 18 and 19

Using the Disk / Swapping

To follow. For now check out OSTEP Ch. 20 and 21