A Friendly Tour of Process Memory on Linux
0xkato.xyz·13h·
Discuss: Hacker News
Flag this post

Saturday. November 01, 2025 - 24 mins

A Friendly Tour of Process Memory on Linux

You run a program. It reads and writes addresses as if a giant, continuous slab of memory had been waiting there all along. It didn’t. Linux builds that illusion on the fly, one page at a time. This is a walk through what your process actually owns, what happens on the first touch of a byte, how protections and huge pages fit in, how to see the truth from /proc, and why modern kernels do a little extra dance to defend against Meltdown.

Note: This tou…

Similar Posts

Loading similar posts...