Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 10:24:09 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Soren Schmidt <sos@freebsd.dk>
Cc:        rjesup@wgate.com, arch@FreeBSD.org, current@FreeBSD.org, (Alfred Perlstein) <bright@wintelcom.net>, (Peter Wemm) <peter@netplex.com.au>
Subject:   Re: HEADS-UP: await/asleep removal imminent
Message-ID:  <XFMail.010118102409.jhb@FreeBSD.org>
In-Reply-To: <200101181408.PAA00170@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

On 18-Jan-01 Soren Schmidt wrote:
> It seems Peter Wemm wrote:
>> > I'll try adding the forward_signal stuff see if that helps...
>> 
>> But John committed that! it should be in the fresh checkout you tried
>> above....  Of course, that is assuming you cvsup'ed very recently..
> 
> Sorry that was not what I meant, I meant this patch to machdep.c
> and so far it looks as thats the culprit it hasn't locked up yet
> at least, but its not finished a world yet....
> 
> Index: machdep.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/i386/i386/machdep.c,v
> retrieving revision 1.429
> diff -u -r1.429 machdep.c
> --- machdep.c   2001/01/16 09:10:33     1.429
> +++ 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();

Hmmmmmmmmmmmmmmmmmm.  Since cpl is dead, this is supposed to be a nop, since
the tpr is always at 0 now (AFAIK).  I'll look at this today.  Weird.  Peter?

> -Søren

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010118102409.jhb>