From: Peter Williams Date: Wed, 24 Oct 2007 16:23:51 +0000 (+0200) Subject: sched: reduce balance-tasks overhead X-Git-Tag: v2.6.24-rc2~145^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1d1484f72127a5580d37c379f6a5b2c2786434c;p=pandora-kernel.git sched: reduce balance-tasks overhead At the moment, balance_tasks() provides low level functionality for both move_tasks() and move_one_task() (indirectly) via the load_balance() function (in the sched_class interface) which also provides dual functionality. This dual functionality complicates the interfaces and internal mechanisms and makes the run time overhead of operations that are called with two run queue locks held. This patch addresses this issue and reduces the overhead of these operations. Signed-off-by: Peter Williams Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed