aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorAlex Shi <alex.shi@intel.com>2012-07-25 20:55:34 -0400
committerThomas Gleixner <tglx@linutronix.de>2012-08-13 13:02:05 -0400
commitf03542a7019c600163ac4441d8a826c92c1bd510 (patch)
treecd644fb1d0feee636c400a58f4bddec30e2d95b9 /kernel/sched/core.c
parent78feefc512a09165627dd534111f651b6c8e605f (diff)
sched: recover SD_WAKE_AFFINE in select_task_rq_fair and code clean up
Since power saving code was removed from sched now, the implement code is out of service in this function, and even pollute other logical. like, 'want_sd' never has chance to be set '0', that remove the effect of SD_WAKE_AFFINE here. So, clean up the obsolete code, includes SD_PREFER_LOCAL. Signed-off-by: Alex Shi <alex.shi@intel.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/5028F431.6000306@intel.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/sched/core.c')
-rw-r--r--kernel/sched/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
index c9a3655e572d..4376c9f34790 100644
--- a/kernel/sched/core.c
+++ b/kernel/sched/core.c
@@ -6622,7 +6622,6 @@ sd_numa_init(struct sched_domain_topology_level *tl, int cpu)
6622 | 0*SD_BALANCE_FORK 6622 | 0*SD_BALANCE_FORK
6623 | 0*SD_BALANCE_WAKE 6623 | 0*SD_BALANCE_WAKE
6624 | 0*SD_WAKE_AFFINE 6624 | 0*SD_WAKE_AFFINE
6625 | 0*SD_PREFER_LOCAL
6626 | 0*SD_SHARE_CPUPOWER 6625 | 0*SD_SHARE_CPUPOWER
6627 | 0*SD_SHARE_PKG_RESOURCES 6626 | 0*SD_SHARE_PKG_RESOURCES
6628 | 1*SD_SERIALIZE 6627 | 1*SD_SERIALIZE