Date: Fri, 25 Sep 1998 22:24:58 +0200 From: Tor.Egge@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 Message-ID: <199809252024.WAA00593@midten.fast.no> In-Reply-To: Your message of "Thu, 24 Sep 1998 23:20:08 -0700" References: <199809250620.XAA00529@word.smith.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809252024.WAA00593>