On Tue, Sep 21, 2010 at 9:36 AM, Andriy Gapon <a...@freebsd.org> wrote:
> on 21/09/2010 19:31 m...@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() ?

Right, that was it.  I knew I hit a problem on 7 in the past.

The right thing is probably to guard the sx_[sx]lock_hard primitives
and sx_assert in the same way.

Thanks,
matthew
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to