]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340409
authorEric van Gyzen <vangyzen@FreeBSD.org>
Tue, 27 Nov 2018 22:32:34 +0000 (22:32 +0000)
committerEric van Gyzen <vangyzen@FreeBSD.org>
Tue, 27 Nov 2018 22:32:34 +0000 (22:32 +0000)
commit3b62c6e8945d00106111ac5075d575d397fe8ef2
treefdb07be3d80d363b7c28a084833cf10fee1fa05d
parentdbdf10cf9dc1e74be66dedf3a4794db1c334f4bd
MFC r340409

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@isilon.com>
Sponsored by: Dell EMC Isilon
sys/kern/kern_rmlock.c
sys/kern/kern_rwlock.c
sys/kern/kern_sx.c