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.
DeltaFile
+6-0sys/kern/kern_sx.c
+6-01 files

UnifiedSplitRaw