sched: Fix select_idle_sibling()
authorMike Galbraith <efault@gmx.de>
Thu, 11 Mar 2010 16:17:16 +0000 (17:17 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:18:11 +0000 (13:18 -0700)
commitac8f51da79873b84461e77ee2b19d02a253add3e
treea9ecad6238a478526f8db5223dfa4ae3f9caf25a
parentb971284b4af79650f4d7f4caae21c824be3dd7fb
sched: Fix select_idle_sibling()

commit 8b911acdf08477c059d1c36c21113ab1696c612b upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sched_fair.c