Re: [PATCH] sched: fix: remove double calculation in fix_small_imbalance

From: Vincent Guittot
Date: Wed Mar 12 2014 - 08:56:29 EST


On 12 March 2014 10:00, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Tue, Mar 11, 2014 at 05:26:06PM +0100, Vincent Guittot wrote:
>> The tmp value has been already calculated in:
>> scaled_busy_load_per_task =
>> (busiest->load_per_task * SCHED_POWER_SCALE) /
>> busiest->group_power;
>
> You created a little confusion in my brain by saying it was a fix; while
> in fact it is an optimization removing duplicate computation.

sorry for the confusion.

>
> I've changed the Subject to read:
>
> sched: Remove double calculation in fix_small_imbalance
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/