Date: Sun, 27 Sep 1998 19:12:25 +0800 From: Peter Wemm <peter@netplex.com.au> To: John Hay <jhay@mikom.csir.co.za> Cc: Tor.Egge@fast.no, freebsd-current@FreeBSD.ORG, freebsd-smp@FreeBSD.ORG Subject: Re: Weired top display at smp current kernel from today Message-ID: <199809271112.TAA12489@spinner.netplex.com.au> In-Reply-To: Your message of "Sat, 26 Sep 1998 09:26:30 %2B0200." <199809260726.JAA06562@zibbi.mikom.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
John Hay wrote: > > > 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 [..] > > This fix it for me. ... This fix seems to be binary format neutral, so > why didn't it happen with an aout /sbin/init? Just luck of the draw. Sometimes it worked, sometimes not - depending on timing, the nested state of the kernel at the point of the fork, etc. Oh well, one thing at least.. While tracking this down, I optimized the imgact_elf.c code to use the newer streamlined VM interfaces to get a faster and more deterministic ELF exec() - the same style as the aout exec code. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809271112.TAA12489>