DEV Community

Wesley Bertipaglia
Wesley Bertipaglia Subscriber

Posted on Originally published at wesleybertipaglia.com

Virtual Memory Explained

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.

Read here: https://www.wesleybertipaglia.com/blog/j5n50ly4

Top comments (0)