Re: SMP and setrunnable()- scheduler 4bsd

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 09 Jul 2003 11:38:31 -0400 (EDT)
On 09-Jul-2003 Terry Lambert wrote:
> John Baldwin wrote:
>> This is why HLT is not enabled in SMP by default (or at least was,
>> it may be turned on now).  Given that the clock interrupts are
>> effectively broadcast to all CPU's one way or another for all
>> arch's (that I know of), you will never halt more than the interval
>> between clock ticks on any CPU.
> 
> I thought that there was either a SPARC or Alpha box where Poul
> had to mess with the divider because they were delivered round
> robin, instead?

No.  The only anomaly I know of is that on Alpha 2100's, the clock
interrupt seems to be round robin rather than broadcast (it is broadcast
on all other SMP Alpha's as far as we can tell.)  So far we aren't sure
exactly how off it is so there isn't a correction in the tree.

-- 

John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Wed Jul 09 2003 - 06:38:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC