aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorZhengyuan Liu <[email protected]>2020-09-21 10:39:36 +0800
committerWill Deacon <[email protected]>2020-09-21 22:05:01 +0100
commita194c5f2d2b3a05428805146afcabe5140b5d378 (patch)
tree77451a5fd1800af050f7e02290580772a7fdfe08 /tools/perf/scripts/python/export-to-sqlite.py
parent152d75d66428afc636ec34bcef8c90a4aa2a7848 (diff)
arm64/mm: return cpu_all_mask when node is NUMA_NO_NODE
The @node passed to cpumask_of_node() can be NUMA_NO_NODE, in that case it will trigger the following WARN_ON(node >= nr_node_ids) due to mismatched data types of @node and @nr_node_ids. Actually we should return cpu_all_mask just like most other architectures do if passed NUMA_NO_NODE. Also add a similar check to the inline cpumask_of_node() in numa.h. Signed-off-by: Zhengyuan Liu <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions