summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2012-05-23 18:00:43 +0200
committerIngo Molnar <mingo@kernel.org>2012-05-30 14:02:24 +0200
commit74a5ce20e6eeeb3751340b390e7ac1d1d07bbf55 (patch)
treeebbef56666aa11303eafbfb6adbfce56e7a4c605 /include
parent2ea45800d8e1c3c51c45a233d6bd6289a297a386 (diff)
downloadlinux-stable-74a5ce20e6eeeb3751340b390e7ac1d1d07bbf55.tar.gz
linux-stable-74a5ce20e6eeeb3751340b390e7ac1d1d07bbf55.tar.bz2
linux-stable-74a5ce20e6eeeb3751340b390e7ac1d1d07bbf55.zip
sched: Fix SD_OVERLAP
SD_OVERLAP exists to allow overlapping groups, overlapping groups appear in NUMA topologies that aren't fully connected. The typical result of not fully connected NUMA is that each cpu (or rather node) will have different spans for a particular distance. However due to how sched domains are traversed -- only the first cpu in the mask goes one level up -- the next level only cares about the spans of the cpus that went up. Due to this two things were observed to be broken: - build_overlap_sched_groups() -- since its possible the cpu we're building the groups for exists in multiple (or all) groups, the selection criteria of the first group didn't ensure there was a cpu for which is was true that cpumask_first(span) == cpu. Thus load- balancing would terminate. - update_group_power() -- assumed that the cpu span of the first group of the domain was covered by all groups of the child domain. The above explains why this isn't true, so deal with it. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: David Rientjes <rientjes@google.com> Link: http://lkml.kernel.org/r/1337788843.9783.14.camel@laptop Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions