Page tables beyond a linear array

See why a linear page table wastes memory on a sparse process, walk addresses through multilevel and inverted tables, and watch an empty entry stop a walk. Virtual memory depth · Operating systems.

A 32-bit program that touches about two dozen pages still owns a table with a million slots, nearly all of them empty. How can that table shrink, and what does a lookup pay for the saving?

What you will learn

  • Work out what a flat table costs and why a tree of tables avoids most of it
  • Walk an address through a multilevel table, including the stop at an empty entry
  • Look up a page in a table indexed by frame, where the process must match too

Lesson outline

  1. What a flat table costs
  2. Split the page number
  3. Walk a small address
  4. Tables appear where pages are mapped
  5. One entry per frame

15 minutes · 4 scenes · 0 predict checks · 11 quiz questions

The full lesson is available with Premium.