Files
linux-stable-mirror/arch/s390/kernel
Alexander Gordeev 905b247f6e s390/topology: honour nr_cpu_ids when adding CPUs
[ Upstream commit a33239be2d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-09 10:34:13 +02:00
..
2023-03-10 09:33:52 +01:00
2022-09-14 16:46:00 +02:00
2022-05-11 14:40:57 +02:00
2023-05-17 11:53:38 +02:00
2023-03-10 09:34:04 +01:00