From owner-cvs-all Fri Dec 14 15:37:42 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0C7D937B417; Fri, 14 Dec 2001 15:37:36 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBENbax79850; Fri, 14 Dec 2001 15:37:36 -0800 (PST) (envelope-from jhb) Message-Id: <200112142337.fBENbax79850@freefall.freebsd.org> From: John Baldwin Date: Fri, 14 Dec 2001 15:37:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_fork.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2001/12/14 15:37:35 PST Modified files: sys/kern kern_fork.c Log: Fix some nits in fork_exit() so it more properly duplicates the backend of mi_switch: - Set the oncpu value for the current thread. - Always set switchticks, not just in the SMP case. - Add a KTR entry for fork_exit that is the same as the "new proc" entry in mi_switch(). - Release sched_lock a bit later like we do with mi_switch(). Revision Changes Path 1.124 +4 -4 src/sys/kern/kern_fork.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message