diff options
author | Alex Shi <alex.shi@intel.com> | 2012-07-26 08:55:34 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-08-13 19:02:05 +0200 |
commit | f03542a7019c600163ac4441d8a826c92c1bd510 (patch) | |
tree | cd644fb1d0feee636c400a58f4bddec30e2d95b9 /include/linux/topology.h | |
parent | 78feefc512a09165627dd534111f651b6c8e605f (diff) | |
download | talos-obmc-linux-f03542a7019c600163ac4441d8a826c92c1bd510.tar.gz talos-obmc-linux-f03542a7019c600163ac4441d8a826c92c1bd510.zip |
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 'include/linux/topology.h')
-rw-r--r-- | include/linux/topology.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/topology.h b/include/linux/topology.h index fec12d667211..d3cf0d6e7712 100644 --- a/include/linux/topology.h +++ b/include/linux/topology.h @@ -129,7 +129,6 @@ int arch_update_cpu_topology(void); | 1*SD_BALANCE_FORK \ | 0*SD_BALANCE_WAKE \ | 1*SD_WAKE_AFFINE \ - | 0*SD_PREFER_LOCAL \ | 0*SD_SHARE_CPUPOWER \ | 1*SD_SHARE_PKG_RESOURCES \ | 0*SD_SERIALIZE \ @@ -160,7 +159,6 @@ int arch_update_cpu_topology(void); | 1*SD_BALANCE_FORK \ | 0*SD_BALANCE_WAKE \ | 1*SD_WAKE_AFFINE \ - | 0*SD_PREFER_LOCAL \ | 0*SD_SHARE_CPUPOWER \ | 0*SD_SHARE_PKG_RESOURCES \ | 0*SD_SERIALIZE \ |