sched: Fix select_idle_sibling()
authorMike Galbraith <efault@gmx.de>
Thu, 11 Mar 2010 16:17:16 +0000 (17:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Mar 2010 17:32:51 +0000 (18:32 +0100)
commit8b911acdf08477c059d1c36c21113ab1696c612b
treeff0127c87cf657b706c3dc68dd8f92248a448c76
parent21406928afe43f1db6acab4931bb8c886f4d04ce
sched: Fix select_idle_sibling()

Don't bother with selection when the current cpu is idle.  Recent load
balancing changes also make it no longer necessary to check wake_affine()
success before returning the selected sibling, so we now always use it.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1268301369.6785.36.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c