Systems Programming

How TLB Shootdowns Work: IPIs, PCIDs, and Why Unmapping a Page Is Not Free

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...

Sarthak Bystander 24 Oct, 2026

How Memory Ordering Works: Store Buffers, Barriers, and Why x86 Is Not Sequentially Consistent

Two threads can each write a flag and then read the other thread's flag, and both reads can return the old value. Nothing in the source ...

Sarthak Bystander 8 Oct, 2026

How Dynamic Linking Works: PLT, GOT, and Why the First Call Is Indirect

A call to puts in a normal C binary is not a direct jump to libc. The machine code in the executable names a procedure-linkage-table stub. ...

Sarthak Bystander 3 Oct, 2026

How the Linux VFS Works: Inodes, Dentries, and Why Paths Are Not Files

An open("/var/log/app.log", O_RDONLY) does not hand the kernel a file. It hands the kernel a string. The Virtual File System (VFS...

Sarthak Bystander 1 Oct, 2026

How the Linux Page Cache Works: Radix Trees, Writeback, and Why read() Hits DRAM

A process asks for a few bytes from a file. The kernel may return them without asking the storage device for anything at all—not because the...

Sarthak Bystander 27 Sept, 2026