aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_fair.c
diff options
context:
space:
mode:
authorMike Galbraith <efault@gmx.de>2010-03-11 11:17:20 -0500
committerIngo Molnar <mingo@elte.hu>2010-03-11 12:32:53 -0500
commitbeac4c7e4a1cc6d57801f690e5e82fa2c9c245c8 (patch)
tree209e23af19515b9fa22bd6ee6598bb751ba61edf /kernel/sched_fair.c
parent13814d42e45dfbe845a0bbe5184565d9236896ae (diff)
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/sched_fair.c')
-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 9357ecdb7f6..35a5c649638 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
1434 int sync = wake_flags & WF_SYNC; 1434 int sync = wake_flags & WF_SYNC;
1435 1435
1436 if (sd_flag & SD_BALANCE_WAKE) { 1436 if (sd_flag & SD_BALANCE_WAKE) {
1437 if (sched_feat(AFFINE_WAKEUPS) && 1437 if (cpumask_test_cpu(cpu, &p->cpus_allowed))
1438 cpumask_test_cpu(cpu, &p->cpus_allowed))
1439 want_affine = 1; 1438 want_affine = 1;
1440 new_cpu = prev_cpu; 1439 new_cpu = prev_cpu;
1441 } 1440 }