How Transparent Huge Pages Work: Collapse, Split, and Why the Kernel Tries to Hide 2 MiB Pages
A process that allocates a multi-gigabyte heap does not have to map every 4 KiB page through its own page-table entry. On x86-64 the hardwar...
A process that allocates a multi-gigabyte heap does not have to map every 4 KiB page through its own page-table entry. On x86-64 the hardwar...
A process that calls malloc for a multi-gigabyte buffer under memory pressure does not always receive the pages. The kernel may already be s...
A process that calls munmap on a range it no longer needs expects the virtual addresses to disappear. On a single-core machine that is almo...
A process that calls malloc for a multi-gigabyte buffer on a two-socket server does not receive equal-cost memory. The physical frames behin...
A driver that calls kmalloc(256, GFP_ATOMIC) from an interrupt handler and a process that calls malloc(256) are not talking to the same al...
A prefork server that looked cheap in RSS before the first request can double its memory after workers start handling traffic. fork did not...
How mmap Works: File-Backed Pages, MAP_PRIVATE, and Why Zero-Copy Matters A process that wants the contents of a 4 GB file does not have to...
Why virtual memory exists A process does not own a private bank of RAM chips. It owns a private address space: virtual addresses the CPU wi...