Date: Thu, 18 Jan 2001 23:01:11 -0800 From: Peter Wemm <peter@netplex.com.au> To: Soren Schmidt <sos@freebsd.dk> Cc: jhb@FreeBSD.ORG (John Baldwin), bright@wintelcom.net (Alfred Perlstein), current@FreeBSD.ORG, arch@FreeBSD.ORG, rjesup@wgate.com Subject: Re: HEADS-UP: await/asleep removal imminent Message-ID: <200101190701.f0J71Bk09591@mobile.wemm.org> In-Reply-To: <200101181525.QAA21260@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
Soren Schmidt wrote:
> It seems Peter Wemm wrote:
> >
> > Soren, can you retest a buildworld with the currently committed kernel
> > with no other changes? Let us see if the forward_signal() stuff is the
> > culprit, and if not, try adding just the i386/i386/machdep.c patch to HLT
> > the idle CPU. (if *that* makes a difference then we have got trouble!)
>
> It seems that the HLT thing is exactly the patch that makes it work!
>
> So we have trouble, I said that all along .5 :)
So, the difference between -current working for you or not is this:
+++ machdep.c 2001/01/18 13:44:48
@@ -1005,6 +1005,10 @@
void
cpu_idle(void)
{
+#ifdef SMP
+ /* first candidate for an interrupt */
+ lapic.tpr = 0;
+#endif
#ifndef SMP
if (cpu_idle_hlt) {
disable_intr();
?? No other changes?
This is bad news.. This means we have races somewhere, or some other badness.
Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5
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?200101190701.f0J71Bk09591>
