From owner-freebsd-arch Tue Feb 19 15:40:45 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id C8AFF37B41B; Tue, 19 Feb 2002 15:40:19 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020219234019.RNRO2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Tue, 19 Feb 2002 23:40:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id PAA59172; Tue, 19 Feb 2002 15:27:33 -0800 (PST) Date: Tue, 19 Feb 2002 15:27:31 -0800 (PST) From: Julian Elischer To: Matthew Dillon Cc: Robert Watson , arch@FreeBSD.ORG, jhb@FreeBSD.ORG Subject: Re: that ucred invariant stuff. In-Reply-To: <200202192302.g1JN29164102@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 yes please I could also do it.. my prefered behaviour however is to just rip it out.. I'm happy to just wait a day or two till jhb isback on line to hear him say it.. I can live with slow behaviour for 2 days and you already have it zapped in your site right? We also need to do it in the other architectures. /sys/*/*/trap.c On Tue, 19 Feb 2002, Matthew Dillon wrote: > > :My understanding was that John saw this primarily as a debugging aid. No > :doubt: > : > :#ifdef OPTIONS_NULL_TD_UCRED > : ... > :#else > : ... > :#endif > : > :would be appropriate for general use once we're sure we're handling > :td_ucred fine, especially given the performance difference. > : > :Robert N M Watson FreeBSD Core Team, TrustedBSD Project > :robert@fledge.watson.org NAI Labs, Safeport Network Services > > Julian, should I go ahead and do this or would you like to? I already > have the patches ready, I just have to change a bunch of #if 0's into > #ifdef OPTIONS_TD_UCRED_DEBUG, for all architectures. > > I suggest something like OPTIONS_TD_UCRED_DEBUG. Turning on this > option would clear out the ucred in the thread after each syscall > (effectively the INVARIANTS code that is there now). Not specifying > this option would give us the cache behavior (what Julian's code was > intended to do). > > -Matt > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message