From owner-freebsd-arch Fri Feb 22 11:37:31 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id 3ED5237B404; Fri, 22 Feb 2002 11:37:28 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id g1MJbIfH130754; Fri, 22 Feb 2002 14:37:18 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200202221929.g1MJTFI20465@apollo.backplane.com> References: <200202221929.g1MJTFI20465@apollo.backplane.com> Date: Fri, 22 Feb 2002 14:37:18 -0500 To: Matthew Dillon , Julian Elischer From: Garance A Drosihn Subject: Re: RE: that INVARIANT/ucred freeing stuff. Cc: John Baldwin , arch@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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