freebsd-dev/sys/alpha
Julian Elischer 77c4066424 Add some DIAGNOSTIC code.
While in userland, keep the thread's ucred reference in a shadow
field so that the usual place to store it is NULL.
If DIAGNOSTIC is not set, the thread ucred is kept valid until the next
kernel entry, at which time it is checked against the process cred
and possibly corrected. Produces a BIG speedup in
kernels with INVARIANTS set. (A previous commit corrected it
for the non INVARIANTS case already)

Reviewed by:	dillon@freebsd.org
2002-02-22 23:58:22 +00:00
..
alpha Add some DIAGNOSTIC code. 2002-02-22 23:58:22 +00:00
compile
conf Remove WITNESS from GENERIC by default: as we grow more locks, this gets 2002-02-13 07:44:59 +00:00
include o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +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 Bah, I managed to turn cosmetic things into real bugs. Fix shadowed 2002-02-08 08:56:01 +00:00
mcbus Introduce a standard name for the lock protecting an interrupt controller 2001-12-20 23:48:31 +00:00
osf1 Fix a long line introduced in previous commit. 2002-02-07 22:29:41 +00:00
pci Introduce a standard name for the lock protecting an interrupt controller 2001-12-20 23:48:31 +00:00
tc Replace the MFREE that Marshal (Quick Draw) Dillon apparently didn't look for. 2002-02-07 08:39:26 +00:00
tlsb Introduce a standard name for the lock protecting an interrupt controller 2001-12-20 23:48:31 +00:00
Makefile