Re: [PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable() [v2]

2014-01-21 Thread Chen, Gong
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/ir

Re: [PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable() [v2]

2014-01-21 Thread Chen, Gong
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

[PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable() [v2]

2014-01-20 Thread Prarit Bhargava
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

Re: [PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable()

2014-01-20 Thread Chen, Gong
On Fri, Jan 17, 2014 at 08:39:21AM -0500, Prarit Bhargava wrote: [...] > + > + if (!alloc_cpumask_var(_new, GFP_KERNEL)){ > + ret = -ENOMEM; > + goto out; > + } > + > + if (!alloc_cpumask_var(_new, GFP_KERNEL)) { > + ret = -ENOMEM; > +

[PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable() [v2]

2014-01-20 Thread Prarit Bhargava
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

Re: [PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable()

2014-01-20 Thread Chen, Gong
On Fri, Jan 17, 2014 at 08:39:21AM -0500, Prarit Bhargava wrote: [...] + + if (!alloc_cpumask_var(online_new, GFP_KERNEL)){ + ret = -ENOMEM; + goto out; + } + + if (!alloc_cpumask_var(affinity_new, GFP_KERNEL)) { + ret = -ENOMEM; +

[PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable()

2014-01-17 Thread Prarit Bhargava
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

[PATCH] x86, cpu hotplug, use cpumask stack safe variant cpumask_var_t in check_irq_vectors_for_cpu_disable()

2014-01-17 Thread Prarit Bhargava
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