Virtual Memory
- We will break both address spaces up into “pages”.
- Typically 4KB in size, although sometimes large
- Use a “page table” to map between virtual pages and physical pages.
- The processor generates “virtual” addresses
- They are translated via “address translation” into physical addresses.
from cseweb.ucsd.edu: 19 Virtualmemory.Key.Pdf 1
- build a cache for the page mapping, but call it a “translation lookaside buffer” or “TLB”
- TLBs are small (maybe 128 entries), highly-associative (often fully-associative) caches for page table entries.
- Virtual memory to Physical memory mapping
