From: Con Kolivas Date: Wed, 9 Nov 2005 05:38:58 +0000 (-0800) Subject: [PATCH] sched: smp nice bias busy queues on idle rebalance X-Git-Tag: v2.6.15-rc1~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b0bd9bc6f3b8a47853d1b1de4520de3878e8941;p=pandora-kernel.git [PATCH] sched: smp nice bias busy queues on idle rebalance To intensify the 'nice' support across physical cpus on SMP we can bias the loads on idle rebalancing. To prevent idle rebalance from trying to pull tasks from queues that appear heavily loaded we only bias the load if there is more than one task running. Add some minor micro-optimisations and have only one return from __source_load and __target_load functions. Fix the fact that target_load was not biased by priority when type == 0. Signed-off-by: Con Kolivas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed