freebsd-dev/sys/powerpc
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
..
aim Add some DIAGNOSTIC code. 2002-02-22 23:58:22 +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 Allow maxusers to be specified as 0 in the kernel config, which will 2001-12-09 01:57:09 +00:00
include o Move NTOHL() and associated macros into <sys/param.h>. These are 2002-02-18 20:35:27 +00:00
powerpc Add some DIAGNOSTIC code. 2002-02-22 23:58:22 +00:00