From: Peter Zijlstra Date: Wed, 28 Aug 2013 09:44:39 +0000 (+0200) Subject: sched/fair: Fix group power_orig computation X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~40^2~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=863bffc80898b8df295ebac111af2335ec05f85d;p=pandora-kernel.git 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 Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-db2pe0vxwunv37plc7onnugj@git.kernel.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed