Messages in this thread Patch in this message | | | Subject | Re: [patch 12/12] sched: remove AFFINE_WAKEUPS feature | From | Mike Galbraith <> | Date | Thu, 11 Mar 2010 11:04:50 +0100 |
| |
sched: remove AFFINE_WAKEUPS feature
Disabling affine wakeups is too horrible to contemplate. Remove it.
Signed-off-by: Mike Galbraith <efault@gmx.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission>
--- kernel/sched_fair.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
Index: linux-2.6/kernel/sched_fair.c =================================================================== --- linux-2.6.orig/kernel/sched_fair.c +++ linux-2.6/kernel/sched_fair.c @@ -1433,8 +1433,7 @@ static int select_task_rq_fair(struct ta 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; }
| |