diff options
author | Gregory Haskins <ghaskins@novell.com> | 2008-01-25 21:08:18 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-25 21:08:18 +0100 |
commit | 637f50851b57a32f7ec67c50fc16f1601ab1a87a (patch) | |
tree | ee8a4bc19fda1783bff8aa44abdcb6d8596aa7f1 /include/acpi | |
parent | 57d885fea0da0e9541d7730a9e1dcf734981a173 (diff) | |
download | linux-637f50851b57a32f7ec67c50fc16f1601ab1a87a.tar.gz linux-637f50851b57a32f7ec67c50fc16f1601ab1a87a.tar.bz2 linux-637f50851b57a32f7ec67c50fc16f1601ab1a87a.zip |
sched: only balance our RT tasks within our domain
We move the rt-overload data as the first global to per-domain
reclassification. This limits the scope of overload related cache-line
bouncing to stay with a specified partition instead of affecting all
cpus in the system.
Finally, we limit the scope of find_lowest_cpu searches to the domain
instead of the entire system. Note that we would always respect domain
boundaries even without this patch, but we first would scan potentially
all cpus before whittling the list down. Now we can avoid looking at
RQs that are out of scope, again reducing cache-line hits.
Note: In some cases, task->cpus_allowed will effectively reduce our search
to within our domain. However, I believe there are cases where the
cpus_allowed mask may be all ones and therefore we err on the side of
caution. If it can be optimized later, so be it.
Signed-off-by: Gregory Haskins <ghaskins@novell.com>
CC: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions