[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080930132609.GA19233@elte.hu>
Date: Tue, 30 Sep 2008 15:26:09 +0200
From: Ingo Molnar <mingo@...e.hu>
To: "Amit K. Arora" <aarora@...ux.vnet.ibm.com>
Cc: linux-kernel@...r.kernel.org, vatsa@...ux.vnet.ibm.com,
a.p.zijlstra@...llo.nl
Subject: Re: [PATCH][resubmit] sched: minor optimizations in wake_affine
and select_task_rq_fair
* Amit K. Arora <aarora@...ux.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@...ux.vnet.ibm.com>
> CC: Srivatsa Vaddagiri <vatsa@...ux.vnet.ibm.com>
> CC: Peter Zijlstra <a.p.zijlstra@...llo.nl>
> CC: Ingo Molnar <mingo@...e.hu>
applied to tip/sched/devel, thanks Amit!
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists