From owner-freebsd-current Fri Sep 25 13:30:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06572 for freebsd-current-outgoing; Fri, 25 Sep 1998 13:30:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from midten.fast.no (midten.fast.no [195.139.251.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06463; Fri, 25 Sep 1998 13:29:10 -0700 (PDT) (envelope-from tegge@fast.no) Received: from fast.no (IDENT:tegge@midten.fast.no [195.139.251.11]) by midten.fast.no (8.9.1/8.9.1) with ESMTP id WAA00593; Fri, 25 Sep 1998 22:24:59 +0200 (CEST) Message-Id: <199809252024.WAA00593@midten.fast.no> To: mike@smith.net.au Cc: fn@radio-do.de, freebsd-current@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG Subject: Re: Weired top display at smp current kernel from today From: Tor.Egge@fast.no In-Reply-To: Your message of "Thu, 24 Sep 1998 23:20:08 -0700" References: <199809250620.XAA00529@word.smith.net.au> X-Mailer: Mew version 1.70 on Emacs 19.34.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 25 Sep 1998 22:24:58 +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Sounds like a bug in the ELF image activator. It's possible that > something got bent when the corefile writing code went in (waves dead > poultry speculatively). It is a bug in cpu_fork(). pcb_mpnest should be initialized to 1. Index: vm_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/i386/i386/vm_machdep.c,v retrieving revision 1.109 diff -u -r1.109 vm_machdep.c --- vm_machdep.c 1998/08/18 07:46:58 1.109 +++ vm_machdep.c 1998/09/25 20:22:52 @@ -636,6 +649,9 @@ * pcb2->pcb_onfault: cloned above (always NULL here?). */ +#ifdef SMP + pcb2->pcb_mpnest = 1; +#endif #ifdef VM86 /* * XXX don't copy the i/o pages. this should probably be fixed. - Tor Egge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message