FreeBSD/src d54474e (r340409)sys/kern kern_rmlock.c kern_rwlock.c

Make no assertions about lock state when the scheduler is stopped.

Change the assert paths in rm, rw, and sx locks to match the lock
and unlock paths.  I did this for mutexes in r306346.

Reported by:    Travis Lane <tlane at isilon.com>
MFC after:      2 weeks
Sponsored by:   Dell EMC Isilon
DeltaFile
+1-1sys/kern/kern_rmlock.c
+1-1sys/kern/kern_rwlock.c
+1-1sys/kern/kern_sx.c
+3-33 files

UnifiedSplitRaw