sched: Fix sched_mv_power_savings for !SMT
commitd9d9736709a7fbe2ecee46e4775c825263545ad4
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Mon, 8 Feb 2010 10:05:55 +0000 (8 15:35 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:50:17 +0000 (15 08:50 -0700)
treeb7ed356cdb6e84c91faf358727e2c631686be552
parent0e352d472aeded6dff36d53bdac684a411ee39ee
sched: Fix sched_mv_power_savings for !SMT

commit 28f5318167adf23b16c844b9c2253f355cb21796 upstream.

Fix for sched_mc_powersavigs for pre-Nehalem platforms.
Child sched domain should clear SD_PREFER_SIBLING if parent will have
SD_POWERSAVINGS_BALANCE because they are contradicting.

Sets the flags correctly based on sched_mc_power_savings.

Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100208100555.GD2931@dirshya.in.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/sched.h