Spin or Sleep: That is the question
Spinlocks, mutexes, semaphores, reader-writer locks, seqlocks, and futexes — when to spin, when to sleep
Spinlocks, mutexes, semaphores, reader-writer locks, seqlocks, and futexes — when to spin, when to sleep
How RCU achieves zero-cost readers — core constructs, a toy example, the kernel implementation, and canonical papers