Hey dev.to 👋
Post 5/8 of my Operating Systems Explained series is out.
This one is about virtual memory: address spaces, paging and page tables, the TLB, page faults and swap, and how mmap, brk, and malloc finally get memory from the OS.
It also closes a loop from the Computers Explained series: the CPU post waved at malloc as library bookkeeping. This is the machinery underneath it — how the same address numbers in two processes land in different physical frames, enforced by hardware on every single access.
Top comments (0)