From owner-cvs-all Sun Sep 27 20:34:45 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA20096 for cvs-all-outgoing; Sun, 27 Sep 1998 20:34:45 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20091; Sun, 27 Sep 1998 20:34:44 -0700 (PDT) (envelope-from tegge@FreeBSD.org) From: Tor Egge Received: (from tegge@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA20758; Sun, 27 Sep 1998 20:34:40 -0700 (PDT) Date: Sun, 27 Sep 1998 20:34:40 -0700 (PDT) Message-Id: <199809280334.UAA20758@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 vm_machdep.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk tegge 1998/09/27 20:34:40 PDT Modified files: sys/i386/i386 vm_machdep.c Log: Initialize pcb_mpnest to 1 in the child process in cpu_fork(). This should fix the 50% idle problem that the ELF /sbin/init triggered. The problem appeared when the last context switch before a fork() call was due to the kernel faulting in user pages via normal page faults (e.g. copyin). Reviewed by: Peter Wemm Revision Changes Path 1.111 +4 -1 src/sys/i386/i386/vm_machdep.c