Date: Fri, 28 Apr 2000 10:01:32 -0400 (EDT) From: Luoqi Chen <luoqi@watermarkgroup.com> To: smp@csn.net Cc: bright@wintelcom.net, djb@ifa.au.dk, freebsd-smp@FreeBSD.ORG Subject: Re: hlt instructions and temperature issues Message-ID: <200004281401.e3SE1Wa18614@lor.watermarkgroup.com>
next in thread | raw e-mail | index | archive | help
> There are several scenarios that I remember, including: > > CPU0 running at spl level <anything set> > CPU1 hlt'd > > INT occurs, CPU1 is woken and starts to process the ISR. > first level ISR routine is locked out by spl, marks INT pending, > CPU1 hlts again. > > CPU0 gets to splx(), sees the pending INT, processes it, > processing of INT causes another process to become ready. > > CPU0 continues running it current process, CPU1 still hlt'd, > "newly readied" process remains on que. > > CPU0 hits end of its quantum, reschedules, runs "newly readied" > process, CPU1 remains hlt'd. > You're right, it seems that this could only be solved with an IPI. Maybe this should be part of a per-cpu run queues implementation... -lq 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?200004281401.e3SE1Wa18614>