Commit 358aeb9f authored by Heiko Carstens's avatar Heiko Carstens Committed by Zheng Zengkai
Browse files

s390/smp: __smp_rescan_cpus() - move cpumask away from stack



stable inclusion
from stable-5.10.24
commit e4b98e2260fd47208fda30d5e182d790941a9332
bugzilla: 51348

--------------------------------

[ Upstream commit 62c8dca9 ]

Avoid a potentially large stack frame and overflow by making
"cpumask_t avail" a static variable. There is no concurrent
access due to the existing locking.

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatar  Weilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 217db46d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment