Paging and address translation
Animated p/d split and page-table lookup.
Module 4
Session 4.3
Lesson 1 of 3
Paging and Address Translation
Fixed-size pages and frames. The page table is the map. External fragmentation goes away.
Split the address
Logical address = page number + offset. Offset bits = log2(page size). Physical address = frame number concatenated with the same offset. The page table stores frame number plus valid, dirty, reference, and protection bits.
Internal fragmentation is at most almost one page per region. Multi-level tables exist because a flat table for a 64-bit space would be absurd.
Translate
Page table (frame for page 0, 1, 2, …). Empty = invalid.
| Page | Frame |
|---|