From: Peter Zijlstra Date: Wed, 8 Oct 2008 07:16:04 +0000 (+0200) Subject: sched: sync wakeups vs avg_overlap X-Git-Tag: v2.6.28-rc1~725^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb7635c4cea310992a39580133099dd99ad151c;p=pandora-kernel.git sched: sync wakeups vs avg_overlap While looking at the code I wondered why we always do: sync && avg_overlap < migration_cost Which is a bit odd, since the overlap test was meant to detect sync wakeups so using it to specialize sync wakeups doesn't make much sense. Hence change the code to do: sync || avg_overlap < migration_cost Signed-off-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed