Re: [PATCH v3 10/17] Remove some CFS specific code from the wakeup path of RT tasks

2007-11-17 Thread Steven Rostedt
On Sat, 17 Nov 2007, Gregory Haskins wrote: > >>> On Sat, Nov 17, 2007 at 1:21 AM, in message > <[EMAIL PROTECTED]>, Steven Rostedt <[EMAIL PROTECTED]> > wrote: > > > +*/ > > + if (idle_cpu(cpu) || cpu_rq(cpu)->nr_running > 1) > > + return cpu; > > + > > + for_each_domain(cpu,

Re: [PATCH v3 10/17] Remove some CFS specific code from the wakeup path of RT tasks

2007-11-17 Thread Gregory Haskins
>>> On Sat, Nov 17, 2007 at 1:21 AM, in message <[EMAIL PROTECTED]>, Steven Rostedt <[EMAIL PROTECTED]> wrote: > -/* > - * wake_idle() will wake a task on an idle cpu if task->cpu is > - * not idle and an idle cpu is available. The span of cpus to > - * search starts with cpus closest then furt

[PATCH v3 10/17] Remove some CFS specific code from the wakeup path of RT tasks

2007-11-16 Thread Steven Rostedt
From: Gregory Haskins <[EMAIL PROTECTED]> The current wake-up code path tries to determine if it can optimize the wake-up to "this_cpu" by computing load calculations. The problem is that these calculations are only relevant to CFS tasks where load is king. For RT tasks, priority is king. So th