diff options
author | 2021-02-17 07:19:09 +0100 | |
---|---|---|
committer | 2021-02-24 00:31:22 +0100 | |
commit | f213e5502d2e68f141a4e3faadffd03000224192 (patch) | |
tree | 793cc80cab0f72c41585ceaee890088e053cbfb9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390/smp: __smp_rescan_cpus() - move cpumask away from stack (diff) | |
download | wireguard-linux-f213e5502d2e68f141a4e3faadffd03000224192.tar.xz wireguard-linux-f213e5502d2e68f141a4e3faadffd03000224192.zip |
s390/smp: smp_emergency_stop() - move cpumask away from stack
Make "cpumask_t cpumask" a static variable to avoid a potential large
stack frame. Also protect against potential concurrent callers by
introducing a local lock.
Note: smp_emergency_stop() gets only called with irqs and machine
checks disabled, therefore a cpu local deadlock is not possible. For
concurrent callers the first cpu which enters the critical section
wins and will stop all other cpus.
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions