sched: recover SD_WAKE_AFFINE in select_task_rq_fair and code clean up
authorAlex Shi <alex.shi@intel.com>
Thu, 26 Jul 2012 00:55:34 +0000 (08:55 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Aug 2012 17:02:05 +0000 (19:02 +0200)
commitf03542a7019c600163ac4441d8a826c92c1bd510
treecd644fb1d0feee636c400a58f4bddec30e2d95b9
parent78feefc512a09165627dd534111f651b6c8e605f
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>
include/linux/sched.h
include/linux/topology.h
kernel/sched/core.c
kernel/sched/fair.c