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

From: Peter Zijlstra
Date: Wed Mar 12 2014 - 05:00:58 EST


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.

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/