diff options
| author | Arnd Bergmann <[email protected]> | 2025-06-20 11:10:41 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-07-04 15:32:15 +0000 |
| commit | 6c66bb655ca3fd5e9304163cf70796d08de512ed (patch) | |
| tree | 8f3a3acfb74c7f6923f23c2d7e4095fe9cf34279 /net/unix/af_unix.c | |
| parent | arm64/gcs: Don't try to access GCS registers if arm64.nogcs is enabled (diff) | |
| download | kernel-6c66bb655ca3fd5e9304163cf70796d08de512ed.tar.gz kernel-6c66bb655ca3fd5e9304163cf70796d08de512ed.zip | |
arm64: move smp_send_stop() cpu mask off stack
For really large values of CONFIG_NR_CPUS, a CPU mask value should
not be put on the stack:
arch/arm64/kernel/smp.c:1188:1: error: the frame size of 8544 bytes is larger than 1536 bytes [-Werror=frame-larger-than=]
This could be achieved using alloc_cpumask_var(), which makes it
depend on CONFIG_CPUMASK_OFFSTACK, but as this function is already
serialized and can only run on one CPU, making the variable 'static'
is easier.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
