]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sched: Fix select_idle_sibling()
authorMike Galbraith <efault@gmx.de>
Thu, 11 Mar 2010 16:17:16 +0000 (17:17 +0100)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:07:52 +0000 (18:07 -0500)
commita225add434f2b34ede4accc0a1f01eb0b388cb6f
tree47caaca09279af7903afa6a4906abafdc6d07239
parentc9ecb99443a55d80019f4f2153de26d2715f6485
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: Paul Gortmaker <paul.gortmaker@windriver.com>
kernel/sched_fair.c