Lec 9: Virtual Memory

In Lab1 and Lab2, all processes (user programs as well as kernel) run in the physical address space. This is bad because there's no isolation among processes; one bad program can corrupt the memory of other processes.

This class discusses how to virtualize memories to provide true isolation.

Digression: addresses in programs

Address spaces

X86 segments

Case study of Lab3's use of segmentation

Why not segmentation?

x86 Paging

Case study: the memory mapping of Lab 3.