diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-05-04 16:21:48 +0200 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2023-05-15 14:20:14 +0200 |
commit | a33239be2d38ff5a44427db1707c08787508d34a (patch) | |
tree | 8d100be7bfae7633e05e4c1b8cfc7387b5a3bf4f /scripts/gdb/linux/tasks.py | |
parent | b1b0d5aec1cf9f9a900a14964f869c68688d923e (diff) |
s390/topology: honour nr_cpu_ids when adding CPUs
When SMT thread CPUs are added to CPU masks the nr_cpu_ids
limit is not checked and could be exceeded. This leads to
a warning for example if CONFIG_DEBUG_PER_CPU_MAPS is set
and the command line parameter nr_cpus is set to 1.
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions