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 <pra...@redhat.com> > Cc: Andi Kleen <a...@linux.intel.com> > Cc: Michel Lespinasse <wal...@google.com> > Cc: Seiji Aguchi <seiji.agu...@hds.com> > Cc: Yang Zhang <yang.z.zh...@intel.com> > Cc: Paul Gortmaker <paul.gortma...@windriver.com> > Cc: Janet Morgan <janet.mor...@intel.com> > Cc: Tony Luck <tony.l...@intel.com> > Cc: Ruiv Wang <ruiv.w...@gmail.com> > Cc: Gong Chen <gong.c...@linux.intel.com> > Cc: H. Peter Anvin <h...@linux.intel.com> > Cc: Gong Chen <gong.c...@linux.intel.com> > Cc: x...@kernel.org > Cc: Fengguang Wu <fengguang...@intel.com> > > [v2]: switch from GFP_KERNEL to GFP_ATOMIC
Reviewed-by: Chen, Gong <gong.c...@linux.intel.com>
signature.asc
Description: Digital signature