HomeFreeBSD

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

Description

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>
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon

Details

Provenance
vangyzenAuthored on
Parents
rS340408: Ensure that libnv can be used when kern.trap_enotcap=1.
Branches
Unknown
Tags
Unknown