Concurrency

How RCU Works: Grace Periods, Quiescent States, and Why Readers Skip Locks

A shared linked list in the kernel can be walked by thousands of cores at once. A writer still has to insert or delete a node. If every walk...

Sarthak Bystander 23 Sept, 2026

How CPU Caches Work: Lines, Associativity, and False Sharing

A load that misses DRAM can cost hundreds of cycles. A load that hits L1 often costs a handful. That gap is why two programs with the same b...

Sarthak Bystander 18 Sept, 2026