Locking primitives
A complete guide on different locking primitives used in Linux Kernel, C, and C++
- Spin or Sleep: That is the question
Spinlocks, mutexes, semaphores, reader-writer locks, seqlocks, and futexes — when to spin, when to sleep - Read-Copy-Update (RCU): A Primer
How RCU achieves zero-cost readers — core constructs, a toy example, the kernel implementation, and canonical papers