[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46C2842E.3010806@bigpond.net.au>
Date: Wed, 15 Aug 2007 14:42:22 +1000
From: Peter Williams <pwil3058@...pond.net.au>
To: Ingo Molnar <mingo@...e.hu>
CC: Nick Piggin <npiggin@...e.de>,
"Siddha, Suresh B" <suresh.b.siddha@...el.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [PATCH] sched: Reduce overhead in balance_tasks()
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.
This patch is not urgent and can be held back until the next merge
window without compromising the safety of the kernel.
Signed-off-by: Peter Williams <pwil3058@...pond.net.au>
Peter
--
Peter Williams pwil3058@...pond.net.au
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
View attachment "reduce-balance_tasks-overhead.patch" of type "text/x-patch" (11996 bytes)
Powered by blists - more mailing lists