Re: [PATCH] Binding processes to selected CPUs

Ove Ewerlid (Ove.Ewerlid@syscon.uu.se)
Mon, 04 Oct 1999 00:40:25 +0200


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...

Also;
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
running
something CPU intensive is faster preempted to run the process that
wants
the processor.

Ove

-- 
Ove Ewerlid
Ove.Ewerlid@syscon.uu.se or Ove.Ewerlid@signal.uu.se
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 majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/