FreeBSD/src befd3e3 (r355416) — sys/kern kern_sx.c
sx: check for SX_LOCK_SHARED | SX_LOCK_WRITE_SPINNER when exclusive-locking First, this removes a spurious difference compared to rw locks. More importantly though this avoids a trip through sleepq code if the lock happens to be caught in this state.
Delta | File | |
---|---|---|
+6 | -0 | sys/kern/kern_sx.c |
+6 | -0 | 1 files |