deep-roots learning program · module 07

Module 07 — Desktop OS internals

Every chapter: first principles, What insiders know, a See it yourself lab, connections, and a quiz with worked answers.

01

Three process models

Handles vs fds vs ports; commit vs RSS vs footprint — the comparison frame.

→
02

Windows: PE & the loader

PE internals, PEB/TEB, relocation, LoaderLock, the DLL order folklore.

→
03

Windows: the NT heap

Front end (LFH) vs back end, encoded headers, bucket sizes, pageheap.

→
04

Linux: ELF & the loader

ld.so, vDSO/vvar, symbol order, dlmopen — what runs before main.

→
05

Linux: the memory machinery

smaps, page cache, THP, slab, overcommit, the OOM killer's arithmetic.

→
06

macOS & the grand comparison

Mach VM, purgeable memory, unified memory — and the three-kernel table.

→
the exam
fin

Module 07 final exam

Every chapter, worked answers behind the fold.

→