From owner-cvs-all Sun Feb 28 2:53:48 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 27E44151F4; Sun, 28 Feb 1999 02:53:46 -0800 (PST) (envelope-from bde@FreeBSD.org) Received: (from bde@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id CAA74352; Sun, 28 Feb 1999 02:53:30 -0800 (PST) (envelope-from bde@FreeBSD.org) Message-Id: <199902281053.CAA74352@freefall.freebsd.org> From: Bruce Evans Date: Sun, 28 Feb 1999 02:53:30 -0800 (PST) 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 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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