freebsd-dev/sys/sparc64
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
..
compile Obrien created this directory, but I didn't cvs add cvsignore 2001-07-01 23:37:03 +00:00
conf I was able to boot this kernel using the latest WIP kernel sources. 2002-02-25 22:13:44 +00:00
ebus Set the interrupt map type accordingly if we need to fall back to using 2002-03-09 22:02:02 +00:00
include This is the first part of the new kernel memory allocator. This replaces 2002-03-19 09:11:49 +00:00
isa Fix a warning by adding a missing include. 2002-03-09 22:00:30 +00:00
pci Add a DEBUGGER_ON_POWERFAIL option. This makes the power button on ultra 10s 2002-03-13 05:58:45 +00:00
sbus Add support for the SBus, which is used in early Sun UltraSPARC machines. 2002-02-13 16:11:36 +00:00
sparc64 Change the way we ensure td_ucred is NULL if DIAGNOSTIC is defined. 2002-03-20 21:09:09 +00:00