Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 23:01:58 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: Panic with this morning's (~9am EDT, 15 jan 2004) sources.
Message-ID:  <xzpfzefsgbt.fsf@dwp.des.no>
In-Reply-To: <200401161659.42394.jhb@FreeBSD.org> (John Baldwin's message of "Fri, 16 Jan 2004 16:59:42 -0500")
References:  <EE3D3FBAFFCAED448C21C398FDAD91AC0108D8@EBE1.gc.nat> <200401161523.32120.jhb@FreeBSD.org> <xzpr7xzsj20.fsf@dwp.des.no> <200401161659.42394.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin <jhb@FreeBSD.org> writes:
> You could only lock newfdp #ifdef INVARIANTS perhaps since that is the on=
ly
> 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...

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpfzefsgbt.fsf>