diff options
| author | Srikar Dronamraju <[email protected]> | 2018-08-10 17:00:18 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-09-10 08:13:45 +0000 |
| commit | e5e96fafd9028b1478b165db78c52d981c14f471 (patch) | |
| tree | 7da32dfc77713bbc635414e57af914eb8360eeb1 /tools/perf/scripts/python/stat-cpi.py | |
| parent | sched/debug: Fix potential deadlock when writing to sched_features (diff) | |
| download | kernel-e5e96fafd9028b1478b165db78c52d981c14f471.tar.gz kernel-e5e96fafd9028b1478b165db78c52d981c14f471.zip | |
sched/topology: Set correct NUMA topology type
With the following commit:
051f3ca02e46 ("sched/topology: Introduce NUMA identity node sched domain")
the scheduler introduced a new NUMA level. However this leads to the NUMA topology
on 2 node systems to not be marked as NUMA_DIRECT anymore.
After this commit, it gets reported as NUMA_BACKPLANE, because
sched_domains_numa_level is now 2 on 2 node systems.
Fix this by allowing setting systems that have up to 2 NUMA levels as
NUMA_DIRECT.
While here remove code that assumes that level can be 0.
Signed-off-by: Srikar Dronamraju <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andre Wild <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mel Gorman <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Suravee Suthikulpanit <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: linuxppc-dev <[email protected]>
Fixes: 051f3ca02e46 "Introduce NUMA identity node sched domain"
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
