On Wed Sep 20 22:29:25 2023 +0000, Zebediah Figura wrote:
Wait, why can't we access the list head if we're the last owner? Nobody can wake the lock other than us, right?
The reason is the bail out behavior in `srwlock_wake`. Another thread might still be in `srwlock_wake` undoing the list modifications when the current thread is the last owner of the srwlock.