lkml.org 
[lkml]   [1999]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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...

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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.118 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site