From: Yao Dongdong Date: Tue, 28 Oct 2014 04:08:06 +0000 (+0000) Subject: sched: Check if we got a shallowest_idle_cpu before searching for least_loaded_cpu X-Git-Tag: omap-for-v3.20/drop-legacy-3517~162^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f96742a13135e6c609cc99a3a458402af3c8f31;p=pandora-kernel.git sched: Check if we got a shallowest_idle_cpu before searching for least_loaded_cpu Idle cpu is idler than non-idle cpu, so we needn't search for least_loaded_cpu after we have found an idle cpu. Signed-off-by: Yao Dongdong Reviewed-by: Srikar Dronamraju Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1414469286-6023-1-git-send-email-yaodongdong@huawei.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed