On Fri, 18 Dec 1998, Rik van Riel wrote:

> The real fix for this one is to try rescheduling the previous
> processor of the task in question instead of blindly trying
> current.
> 
> All it takes is one pointer per processor, so it can be done
> (very) cheaply.

it's _not_ that cheap since it means a cross-CPU message pass. I'd suggest
that unless you can demonstrate serious problems with the current code,
leave this until 2.3. I have some code that does the mentioned SMP thing
more apropriately (scheduling done completely at add_to_runqueue() time),
and it's already in there partly (see reschedule_idle()), but it's
original form was too intrusive for 2.2. 

-- mingo

-
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