Messages in this thread | | | Date | Tue, 30 Sep 2008 15:26:09 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH][resubmit] sched: minor optimizations in wake_affine and select_task_rq_fair |
| |
* Amit K. Arora <aarora@linux.vnet.ibm.com> wrote:
> As mentioned in http://lkml.org/lkml/2008/9/30/141 , this is the new > patch. > > sched: Minor optimizations in wake_affine and select_task_rq_fair > > This patch does following: > o Removes unused variable and argument "rq". > o Optimizes one of the "if" conditions in wake_affine() - i.e. if > "balanced" is true, we need not do rest of the calculations in the > condition. > o If this cpu is same as the previous cpu (on which woken up task > was running when it went to sleep), no need to call wake_affine at all. > > Signed-off-by: Amit K Arora <aarora@linux.vnet.ibm.com> > CC: Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com> > CC: Peter Zijlstra <a.p.zijlstra@chello.nl> > CC: Ingo Molnar <mingo@elte.hu>
applied to tip/sched/devel, thanks Amit!
Ingo
| |