summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2010-03-11 17:17:20 +0100
committerIngo Molnar <mingo@elte.hu>2010-03-11 18:32:53 +0100
commitbeac4c7e4a1cc6d57801f690e5e82fa2c9c245c8 (patch)
tree209e23af19515b9fa22bd6ee6598bb751ba61edf /kernel
parent13814d42e45dfbe845a0bbe5184565d9236896ae (diff)
downloadlinux-beac4c7e4a1cc6d57801f690e5e82fa2c9c245c8.tar.gz
linux-beac4c7e4a1cc6d57801f690e5e82fa2c9c245c8.tar.bz2
linux-beac4c7e4a1cc6d57801f690e5e82fa2c9c245c8.zip
sched: Remove AFFINE_WAKEUPS feature
Disabling affine wakeups is too horrible to contemplate. Remove the feature flag. Signed-off-by: Mike Galbraith <efault@gmx.de> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1268301890.6785.50.camel@marge.simson.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sched_fair.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c
index 9357ecdb7f6b..35a5c649638b 100644
--- a/kernel/sched_fair.c
+++ b/kernel/sched_fair.c
@@ -1434,8 +1434,7 @@ static int select_task_rq_fair(struct task_struct *p, int sd_flag, int wake_flag
int sync = wake_flags & WF_SYNC;
if (sd_flag & SD_BALANCE_WAKE) {
- if (sched_feat(AFFINE_WAKEUPS) &&
- cpumask_test_cpu(cpu, &p->cpus_allowed))
+ if (cpumask_test_cpu(cpu, &p->cpus_allowed))
want_affine = 1;
new_cpu = prev_cpu;
}