On Mon, 21 Dec 1998, Rik van Riel wrote:
> 
> > No, the "dest" field has this strange format where you can specify
> > both the destination shorthand and the real destination at once.
> > I'll fix the problem and write some comments to that effect too.
> 
> Could you please tell me quickly how to fix this up myself?
> 
> That way I can actually test the scheduling patch and tell
> you something meaningfull about it :)

Basically, the low 8 bits of the destination is the "destination mask" to
the APIC. The other bits are the destination shorthands (ie stuff like
"everybody but me") and the destination mode bits (ie "fixed" or "NMI" 
etc). 

But it's more complex than just setting the right low bits, because it
also looks like send_IPI() is buggered and will mess up the vector if you
set the low 8 bits to anything but zero. 

But basically you should be able to try:
 - set the low eight bits to the CPU number
 - make send_IPI() clear the low eight bits after it has used them for the
   target chip field.

Looking at the code that should work, but I'd test it a bit first if I
were you ;) 

                Linus

-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to