Messages in this thread | | | Date | Wed, 17 Apr 2024 11:56:07 +0100 | From | Marc Zyngier <> | Subject | Re: [PATCH v2 3/7] irqchip/gic-v3-its: Avoid explicit cpumask allocation on stack |
| |
On Tue, 16 Apr 2024 09:54:50 +0100, Dawei Li <dawei.li@shingroup.cn> wrote: > > In general 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. > > Remove cpumask var on stack and use cpumask_any_and() to address it. > > Signed-off-by: Dawei Li <dawei.li@shingroup.cn>
Reviewed-by: Marc Zyngier <maz@kernel.org>
M.
-- Without deviation from the norm, progress is not possible.
| |