Page Table Design

Chapter 18's linear page table has one entry for every page in the address space, whether or not it's used. This tool follows Chapter 20, Paging: Smaller Tables, through ways to shrink it: bigger pages, combining paging with segmentation, multi-level page tables, and inverted page tables.

One page table per process

We usually have one linear page table for every process in the system. Assume a 32-bit address space with 4KB pages and a 4-byte page-table entry.


      

Page Table of Process A

One entry per page in the whole address space, no matter how much of it the process is using.

Page Table of
Process A
entry
entry
entry
⋮
entry
Physical Memory
Page 0
Page 1
Page 2
⋮
Page n

Page tables are too big and thus consume too much memory.