From: Mike Galbraith Date: Thu, 11 Mar 2010 16:17:20 +0000 (+0100) Subject: sched: Remove AFFINE_WAKEUPS feature X-Git-Tag: v2.6.35-rc1~521^2~33 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=beac4c7e4a1c;p=karo-tx-linux.git sched: Remove AFFINE_WAKEUPS feature Disabling affine wakeups is too horrible to contemplate. Remove the feature flag. Signed-off-by: Mike Galbraith Signed-off-by: Peter Zijlstra LKML-Reference: <1268301890.6785.50.camel@marge.simson.net> Signed-off-by: Ingo Molnar --- 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; }