freebsd-dev/sys/alpha
John Baldwin f25fcd64b8 Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined.
Instead of caching the ucred reference, just go ahead and eat the
decerement and increment of the refcount.  Now that Giant is pushed down
into crfree(), we no longer have to get Giant in the common case.  In the
case when we are actually free'ing the ucred, we would normally free it on
the next kernel entry, so the cost there is not new, just in a different
place.  This also removse td_cache_ucred from struct thread.  This is
still only done #ifdef DIAGNOSTIC.

Tested on:	i386, alpha
2002-03-20 21:09:09 +00:00
..
alpha Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined. 2002-03-20 21:09:09 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Remove WITNESS from GENERIC by default: as we grow more locks, this gets 2002-02-13 07:44:59 +00:00
include Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
isa Don't grab the ICU lock while reading the current pending interrupts and 2002-02-08 18:30:36 +00:00
linux Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
mcbus Fix mcpcia.c so it compiles again. 2002-03-01 23:10:19 +00:00
osf1 Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
pci Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
tc Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
tlsb Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00