The Process Address Space

The Process Address Space — Intro Same flat (single contiguous range) address space model you already have from the article — nothing new conceptually. Key term to lock in: a memory area (this book’s name for what the article calls a VMA) is a permission-tagged interval within that address space. Access outside any valid area, or against an area’s permissions (write to read-only, execute non-executable) → segfault. The list of “what memory areas contain” is just a slightly different cut of the same segments from the article: text, data, bss, stack, shared library mappings, mmap’d files, shared memory, anonymous mappings (malloc). All non-overlapping — every valid address belongs to exactly one area. ...

June 26, 2026 · 32 min

Lifecycle of a Process

March 8, 2026 · 0 min

Virtualization of the CPU - The Process

Virtualizing the CPU — The Process The Core Idea The OS virtualizes the CPU by running one process, stopping it, running another, and so on. Done fast enough, this creates the illusion that many programs run simultaneously on what might be a single CPU core. The abstraction the OS exposes for this is the Process — simply put, a running program. A program is a lifeless set of instructions sitting on disk. A process is that program, brought to life by the OS. ...

March 3, 2026 · 15 min