Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 15:27:31 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Robert Watson <rwatson@FreeBSD.ORG>, arch@FreeBSD.ORG, jhb@FreeBSD.ORG
Subject:   Re: that ucred invariant stuff.
Message-ID:  <Pine.BSF.4.21.0202191525020.58281-100000@InterJet.elischer.org>
In-Reply-To: <200202192302.g1JN29164102@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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