]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sched: Fix sched_mv_power_savings for !SMT
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Mon, 8 Feb 2010 10:05:55 +0000 (15:35 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 16 Feb 2010 14:13:59 +0000 (15:13 +0100)
commit28f5318167adf23b16c844b9c2253f355cb21796
tree54ee6c5cb9ec383caba0cd00e8413682634b886f
parent50200df462023b187d80a99a52f5f2cfe3c86c26
sched: Fix sched_mv_power_savings for !SMT

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>
Cc: stable@kernel.org [2.6.32.x]
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/linux/sched.h