Solaris Turnstiles
Summary
The article explains Solaris turnstiles, a kernel data structure used to manage priority inheritance for contended locks. It covers why turnstiles exist, how they are implemented with per-thread state and a hash table, and the trade-offs for multi-owner locks, plus the influence on other OS kernels and related concepts like WTF::ParkingLot.