Operating systems notes

Paging & the MMU

How a virtual address becomes a physical one, page tables, the walk, and the cache that makes it fast. Every section is a drawn page beside a clear written explanation, about 19 minutes in all.

  • Chapter 22 of 37
  • About 19 minutes
  • 9 sections

Sign in with Google or GitHub and you land straight on this page. DSA comes with the all labs plan and every ChaiCode batch.

The first drawn page of Paging & the MMU: The idea of paging
The chapter's first page: The idea of paging

In this chapter

  • The idea of paging
  • Pages, frames & the page table
  • Splitting a virtual address
  • What lives in a page-table entry
  • The translation, step by step
  • The problem: page tables are huge
  • Multi-level page tables
  • The TLB: a cache for translations
  • Inverted page tables & why engineers care

Next chapters

Read the whole chapter

Sign in and the chapter opens with every drawn page, and all 38 operating systems chapters beside it.

DSA comes with the all labs plan and every ChaiCode batch.