Panic with this morning's (~9am EDT, 15 jan 2004) sources.

Dag-ErlingSmørgrav des at
Fri Jan 16 14:02:24 PST 2004

John Baldwin <jhb at> writes:
> You could only lock newfdp #ifdef INVARIANTS perhaps since that is the only
> reason you are doing it.  That doesn't pessimize production kernels while
> still letting your assertions work ok.

now that's an idea (though it's a bit of a hack)

>                                         You could also perhaps tweak the
> mtx_assert to somehow check the state of the fd pointer to see if it is a new
> table (refcount of 0 or some such)

that would pessimize the common case...

Dag-Erling Smørgrav - des at

More information about the freebsd-current mailing list