[lkml]   [1999]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Binding processes to selected CPUs
Rik van Riel wrote:
> You have to realize that goodness() is called for each process
> on the runqueue for each reschedule. And this is only needed
> once every rebind...

By sending IPI's (smp_need_resched) and making use of the need_resched
flag the overhead is minimized. And, a desired processor that is
something CPU intensive is faster preempted to run the process that
the processor.


Ove Ewerlid or
Phone: +46 70 666 23 63, Fax: +46 18 503 611, +46 18 555 096

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean