sched/fair: Fix group power_orig computation
authorPeter Zijlstra <peterz@infradead.org>
Wed, 28 Aug 2013 09:44:39 +0000 (11:44 +0200)
committerIngo Molnar <mingo@kernel.org>
Thu, 12 Sep 2013 17:14:43 +0000 (19:14 +0200)
commit863bffc80898b8df295ebac111af2335ec05f85d
tree8b611afc6cbf9e5b4c804157d27a50fa4753e296
parentb72ff13ce6021b37459afacbccc0bc9b16989013
sched/fair: Fix group power_orig computation

When looking at the code I noticed we don't actually compute
sgp->power_orig correctly for groups, fix that.

Currently the only consumer of that value is fix_small_capacity()
which is only used on POWER7+ and that code excludes this case by
being limited to SD_SHARE_CPUPOWER which is only ever set on the SMT
domain which must be the lowest domain and this has singleton groups.

So nothing should be affected by this change.

Cc: Michael Neuling <mikey@neuling.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-db2pe0vxwunv37plc7onnugj@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c
This page took 0.025216 seconds and 5 git commands to generate.