[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240418104949.3606645-1-dawei.li@shingroup.cn>
Date: Thu, 18 Apr 2024 18:49:44 +0800
From: Dawei Li <dawei.li@...ngroup.cn>
To: davem@...emloft.net,
andreas@...sler.com
Cc: sparclinux@...r.kernel.org,
linux-kernel@...r.kernel.org,
Dawei Li <dawei.li@...ngroup.cn>
Subject: [PATCH 0/5] Remove onstack cpumask var usage
Hi,
This series aims at removing on-stack cpumask var usage for sparc arch.
Generally it's preferable to avoid placing cpumasks on the stack, as
for large values of NR_CPUS these can consume significant amounts of
stack space and make stack overflows more likely.
Dawei Li (5):
sparc/srmmu: Remove on-stack cpumask var
sparc/irq: Remove on-stack cpumask var
sparc/of: Remove on-stack cpumask var
sparc/pci_msi: Remove on-stack cpumask var
sparc: Remove on-stack cpumask var
arch/sparc/kernel/irq_64.c | 10 +++-----
arch/sparc/kernel/of_device_64.c | 5 +---
arch/sparc/kernel/pci_msi.c | 5 +---
arch/sparc/mm/init_64.c | 2 +-
arch/sparc/mm/srmmu.c | 40 ++++++++++----------------------
5 files changed, 18 insertions(+), 44 deletions(-)
Thanks,
Dawei
--
2.27.0
Powered by blists - more mailing lists