freebsd-dev/sys/amd64/amd64
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
..
amd64_mem.c Overhaul of the SMP code. Several portions of the SMP kernel support have 2001-04-27 19:28:25 +00:00
amd64-gdbstub.c Backed out the main part of revs.1.14-16. Don't disable interrupts in 2002-01-30 18:51:24 +00:00
apic_vector.S Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
atomic.c Introduce atomic_cmpset_int() and atomic_cmpset_long() from SMPng a 2000-09-06 11:21:14 +00:00
autoconf.c Add new boot flag to i386 boot: -p. 2001-12-10 20:02:22 +00:00
bios.c Don't include <isa/isavar.h> or compile code depending on it when isa 2002-01-30 12:41:12 +00:00
busdma_machdep.c Change the preemption code for software interrupt thread schedules and 2002-01-05 08:47:13 +00:00
cpu_switch.S Attempt to patch up some style bugs introduced in the previous commit 2002-02-07 22:40:34 +00:00
db_disasm.c Quiet a variable format-string warning. 2001-07-19 02:16:24 +00:00
db_interface.c Backed out the last vestiges of rev.1.51. Don't enter a critical 2002-01-30 18:23:31 +00:00
db_trace.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
elf_machdep.c Change incorrect NULLs to 0s 1999-12-21 11:14:12 +00:00
exception.s Garbage-collect the "LOCORE" version of MPLOCKED. 2002-02-11 03:41:59 +00:00
exception.S Garbage-collect the "LOCORE" version of MPLOCKED. 2002-02-11 03:41:59 +00:00
fpu.c Don't include <isa/isavar.h> or compile code depending on it when isa 2002-01-30 12:41:12 +00:00
genassym.c Use struct __ucontext in prototypes and associated functions instead of 2002-02-17 17:40:34 +00:00
identcpu.c Fix typos in some comments. 2002-02-20 14:15:58 +00:00
in_cksum.c In in_cksumdata, len must be a signed type. 2001-10-05 18:58:22 +00:00
initcpu.c Add an option CPU_ATHLON_SSE_HACK which attempts to enable the SSE 2002-02-12 21:13:02 +00:00
legacy.c - Split the routine to initialize a bus_space_handle into the separate 2002-02-17 09:16:45 +00:00
locore.s Use osigreturn(2) instead of sigreturn(2) plus broken magic for returning 2002-02-03 09:13:58 +00:00
locore.S Use osigreturn(2) instead of sigreturn(2) plus broken magic for returning 2002-02-03 09:13:58 +00:00
machdep.c Use struct __ucontext in prototypes and associated functions instead of 2002-02-17 17:40:34 +00:00
mem.c o Modify device open access control for /dev/mem and friends to use 2001-09-26 20:08:02 +00:00
mp_machdep.c Convert p->p_runtime and PCPU(switchtime) to bintime format. 2002-02-22 13:32:01 +00:00
mpboot.S Remove the leading underscore from all symbols defined in x86 asm 2001-02-25 06:29:04 +00:00
mptable.c Convert p->p_runtime and PCPU(switchtime) to bintime format. 2002-02-22 13:32:01 +00:00
nexus.c - Split the routine to initialize a bus_space_handle into the separate 2002-02-17 09:16:45 +00:00
pmap.c Pass me the pointy hat please. Be sure to return a value in a non-void 2002-02-20 22:25:54 +00:00
prof_machdep.c Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
support.s Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
support.S Overhaul the per-CPU support a bit: 2001-12-11 23:33:44 +00:00
swtch.s Attempt to patch up some style bugs introduced in the previous commit 2002-02-07 22:40:34 +00:00
sys_machdep.c Modify the critical section API as follows: 2001-12-18 00:27:18 +00:00
trap.c Add some DIAGNOSTIC code. 2002-02-22 23:58:22 +00:00
tsc.c Don't include <isa/isavar.h> or compile code depending on it when isa 2002-01-30 12:41:12 +00:00
vm_machdep.c Remove an unused (but initialized) variable from vmapbuf(). 2002-02-12 05:50:43 +00:00