Re: [PATCH] x86, cpu hotplug, Fix stack frame warning incheck_irq_vectors_for_cpu_disable()
From: David Rientjes
Date: Thu Jan 30 2014 - 18:05:33 EST
On Tue, 28 Jan 2014, Prarit Bhargava wrote:
> Further discussion here: http://marc.info/?l=linux-kernel&m=139073901101034&w=2
>
> kbuild, 0day kernel build service, outputs the warning:
>
> arch/x86/kernel/irq.c:333:1: warning: the frame size of 2056 bytes
> is larger than 2048 bytes [-Wframe-larger-than=]
>
> because check_irq_vectors_for_cpu_disable() allocates two cpumasks on the
> stack. Fix this by moving the two cpumasks to a global file context.
>
> Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>
Reported-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
Tested-by: David Rientjes <rientjes@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/