Operating systems notes

Address Spaces & Segmentation

How every process gets its own private memory starting at zero, and the first real scheme, segmentation, for making that illusion true. Every section is a drawn page beside a clear written explanation, about 15 minutes in all.

  • Chapter 21 of 37
  • About 15 minutes
  • 7 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 Address Spaces & Segmentation: Every process gets its own address space
The chapter's first page: Every process gets its own address space

In this chapter

  • Every process gets its own address space
  • Why this illusion is so powerful
  • How translation actually happens: the MMU
  • Segmentation: one address space, several segments
  • Protection and sharing, one segment at a time
  • The flaw segmentation could not fix: external fragmentation
  • Segmentation vs paging, and the x86 story

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.