panic on 5.2 BETA: blockable sleep lock

Stefan Ehmann shoesoft at
Thu Nov 27 01:41:25 PST 2003

On Wed, 2003-11-26 at 08:33, Don Lewis wrote:
> The problem is that selrecord() wants to lock a MTX_DEF mutex, which
> cause a context switch if the mutex is already locked by another
> This is contrary to what bktr_poll() wants to accomplish by calling
> critical_enter().

Strange enough that does not seem to happen with a kernel built without
INVARIANTS and WITNESS. Does this make any sense or is this just by

More information about the freebsd-current mailing list