On Mon, Jan 20, 2014 at 01:57:58PM -0500, Prarit Bhargava wrote: > Subject: [PATCH] x86, cpu hotplug, use cpumask stack safe variant > cpumask_var_t in check_irq_vectors_for_cpu_disable() [v2] > > 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 using cpumask_var_t, the cpumask stack safe variant. > > Signed-off-by: Prarit Bhargava > Cc: Andi Kleen > Cc: Michel Lespinasse > Cc: Seiji Aguchi > Cc: Yang Zhang > Cc: Paul Gortmaker > Cc: Janet Morgan > Cc: Tony Luck > Cc: Ruiv Wang > Cc: Gong Chen > Cc: H. Peter Anvin > Cc: Gong Chen > Cc: x86@kernel.org > Cc: Fengguang Wu > > [v2]: switch from GFP_KERNEL to GFP_ATOMIC Reviewed-by: Chen, Gong