Date: Sun, 28 Feb 1999 02:53:30 -0800 (PST) From: Bruce Evans <bde@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha genassym.c swtch.s src/sys/i386/i386 exception.s genassym.c src/sys/kern init_main.c kern_resource.c kern_synch.c src/sys/sys proc.h Message-ID: <199902281053.CAA74352@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1999/02/28 02:53:30 PST Modified files: sys/alpha/alpha genassym.c swtch.s sys/i386/i386 exception.s genassym.c sys/kern init_main.c kern_resource.c kern_synch.c sys/sys proc.h Log: 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 Revision Changes Path 1.5 +1 -2 src/sys/alpha/alpha/genassym.c 1.8 +1 -6 src/sys/alpha/alpha/swtch.s 1.57 +7 -13 src/sys/i386/i386/exception.s 1.64 +1 -2 src/sys/i386/i386/genassym.c 1.111 +2 -2 src/sys/kern/init_main.c 1.42 +3 -3 src/sys/kern/kern_resource.c 1.74 +8 -8 src/sys/kern/kern_synch.c 1.72 +1 -2 src/sys/sys/proc.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902281053.CAA74352>