on 21/09/2010 19:31 mdf at FreeBSD.org said the following: > I keep forgetting, but actually _mtx_lock_sleep() will just return if > panicstr is set. _mtx_assert() is similarly guarded, so actually it > should be mostly okay. But this doesn't seem to be the case for sx lock which is wrapped under KLD_LOCK() ? -- Andriy Gapon