sched: Remove short cut from select_task_rq_fair()
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Mon, 7 Sep 2009 16:12:06 +0000 (18:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 7 Sep 2009 18:39:05 +0000 (20:39 +0200)
commitcdd2ab3de4301728b20efd6225681d3ff591a938
tree7b812c19b624efb0056a96a1403e5b5e791ff714
parent840a0653100dbde599ae8ddf83fa214dfa5fd1aa
sched: Remove short cut from select_task_rq_fair()

select_task_rq_fair() incorrectly skips the wake_affine()
logic, remove this.

When prev_cpu == this_cpu, the code jumps straight to the
wake_idle() logic, this doesn't give the wake_affine() logic
the chance to pin the task to this cpu.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c