Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Feb 2002 14:37:18 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Matthew Dillon <dillon@apollo.backplane.com>, Julian Elischer <julian@elischer.org>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, arch@FreeBSD.ORG
Subject:   Re: RE: that INVARIANT/ucred freeing stuff.
Message-ID:  <p0510141fb89c4dbdf1af@[128.113.24.47]>
In-Reply-To: <200202221929.g1MJTFI20465@apollo.backplane.com>
References:   <Pine.BSF.4.21.0202221109330.74100-100000@InterJet.elischer.org> <200202221929.g1MJTFI20465@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:29 AM -0800 2/22/02, Matthew Dillon wrote:
>     Sigh.  Well, if you really want.  I don't like the idea of
>     the size of the thread structure changing just due to someone
>     turning on or off DIAGNOSTIC though.


When Julian said:
>:OK here is my suggestion:
>
>:add a field to thread of:
>:#ifdef DIAGNOSTIC
>:	td_ucred_cache
>:#endif /* DIAGNOSTIC */

perhaps leave the field defined when no DIAGNOSTIC, but call it
a different name?  (just to make sure nothing is referencing
that field when most the code for it is #ifdef-ed out)

-- 
Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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