freebsd-dev/sys/i386/i386
Bruce Evans e7ba67f274 Removed all traces of `p_switchtime'. The relevant timestamp is per-cpu,
not per-process.  Keep it in `switchtime' consistently.

It is now clear that the timestamp is always valid in fork_trampoline()
except when the child is running on a previously idle cpu, which
can only happen if there are multiple cpus, so don't check or set
the timestamp in fork_trampoline except in the (i386) SMP case.
Just remove the alpha code for setting it unconditionally, since
there is no SMP case for alpha and the code had rotted.

Parts reviewed by:	dfr, phk
1999-02-28 10:53:29 +00:00
..
apic_vector.s Maintain a mapping from irq number to (ioapic number, int pin) tuple, 1998-09-06 22:41:42 +00:00
autoconf.c Break configure() into a couple of stages to allow insertion of 1999-01-19 00:10:59 +00:00
bios.c Cast virtual addresses that happen to be represented as u_longs to 1998-07-15 03:58:57 +00:00
bioscall.s
busdma_machdep.c author was assuming that nextpaddr declared *inside* the do loop would 1998-12-14 05:35:56 +00:00
cons.c Remove a hard-coded table of kernel console I/O functions exported 1999-01-07 14:14:24 +00:00
cons.h Fixed pedantic syntax errors caused by a trailing semicolon in a macro 1999-01-09 14:07:37 +00:00
db_disasm.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
db_interface.c Improved DDB_UNATTENDED behaviour. From the submitter: 1998-12-28 23:03:00 +00:00
db_trace.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
elf_machdep.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
exception.s Removed all traces of `p_switchtime'. The relevant timestamp is per-cpu, 1999-02-28 10:53:29 +00:00
genassym.c Removed all traces of `p_switchtime'. The relevant timestamp is per-cpu, 1999-02-28 10:53:29 +00:00
globals.s Added a per-cpu variable `switchticks' for use in scheduling. 1999-02-22 15:13:34 +00:00
i386-gdbstub.c More const fixes for -Wall, -Wcast-qual 1999-01-29 23:18:50 +00:00
identcpu.c Bit 24 of the Feature Flag is FXSR (for Fast FP Save and Restore). 1999-02-20 19:46:39 +00:00
in_cksum.c Fix warnings related to -Wall -Wcast-qual 1999-01-28 17:32:05 +00:00
initcpu.c There are two models of AMD K6-2 Model 8 (c.f. AMD's document), so the 1999-01-16 13:41:33 +00:00
locore.s Use offset to _pc98_system_parameter instead of immediate value which 1999-01-31 02:04:43 +00:00
machdep.c Don't pass PSL_NT to vm86 signal handlers. Some vm86/real mode 1999-02-13 17:45:15 +00:00
math_emu.h Don't cast pointers to longs in asms. Changed all remaining longs 1998-07-15 09:01:18 +00:00
math_emulate.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
mem.c Check for signals while reading /dev/urandom. Reading 10MB from 1999-02-02 14:14:05 +00:00
mp_machdep.c Don't call assign_apic_irq with a value for irq that is out of range. 1999-02-26 03:42:50 +00:00
mpapic.c Fix (?) EISA interrupt configuration based on observation of what we've 1998-09-28 13:47:23 +00:00
mpboot.s PC-98 doesn't have CMOS ram. 1998-10-10 10:36:12 +00:00
mplock.s Removed unused includes. 1998-06-21 14:53:44 +00:00
mptable.c Don't call assign_apic_irq with a value for irq that is out of range. 1999-02-26 03:42:50 +00:00
perfmon.c Silence warnings. 1999-01-12 00:19:33 +00:00
pmap.c Hide access to vmspace:vm_pmap with inline function vmspace_pmap(). This 1999-02-19 14:25:37 +00:00
procfs_machdep.c Add new functions fill_fpregs() and set_fpregs(), like fill_regs() 1998-09-14 22:43:40 +00:00
simplelock.s
support.s Removed a stray label that broke compiling in the (elf && profiling) case. 1999-01-09 17:29:38 +00:00
swapgeneric.c Don't follow null bdevsw pointers. The `major(dev) < nblkdev' test rotted 1998-10-25 19:26:18 +00:00
swtch.s Micro-optimized and cleaned up the clearing of switchtime in idle(). 1998-07-28 17:35:09 +00:00
symbols.raw This is a rather large commit that encompasses the new swapper, 1999-01-21 08:29:12 +00:00
sys_machdep.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
trap.c Add (but don't activate) code for a special VM option to make 1999-01-06 23:05:42 +00:00
tsc.c Fix tabs that should have been spaces. Some were in kernel error messages. 1998-12-14 13:30:29 +00:00
userconfig.c Add uhci and ohci driver names 1999-02-21 16:33:51 +00:00
vm86.c Fix warnings in preparation for adding -Wall -Wcast-qual to the 1999-01-28 01:59:53 +00:00
vm86bios.s Don't try to save FP state if npxproc is null. 1998-10-01 20:45:28 +00:00
vm_machdep.c Hide access to vmspace:vm_pmap with inline function vmspace_pmap(). This 1999-02-19 14:25:37 +00:00