aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorGregory Haskins <ghaskins@novell.com>2008-01-25 21:08:18 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-25 21:08:18 +0100
commit57d885fea0da0e9541d7730a9e1dcf734981a173 (patch)
tree80f08ea6ed506e2aac30c89b8ae1eee7f008a378 /samples
parentsched: clean up schedule_balance_rt() (diff)
downloadlinux-dev-57d885fea0da0e9541d7730a9e1dcf734981a173.tar.xz
linux-dev-57d885fea0da0e9541d7730a9e1dcf734981a173.zip
sched: add sched-domain roots
We add the notion of a root-domain which will be used later to rescope global variables to per-domain variables. Each exclusive cpuset essentially defines an island domain by fully partitioning the member cpus from any other cpuset. However, we currently still maintain some policy/state as global variables which transcend all cpusets. Consider, for instance, rt-overload state. Whenever a new exclusive cpuset is created, we also create a new root-domain object and move each cpu member to the root-domain's span. By default the system creates a single root-domain with all cpus as members (mimicking the global state we have today). We add some plumbing for storing class specific data in our root-domain. Whenever a RQ is switching root-domains (because of repartitioning) we give each sched_class the opportunity to remove any state from its old domain and add state to the new one. This logic doesn't have any clients yet but it will later in the series. Signed-off-by: Gregory Haskins <ghaskins@novell.com> CC: Christoph Lameter <clameter@sgi.com> CC: Paul Jackson <pj@sgi.com> CC: Simon Derr <simon.derr@bull.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions