Re: [PATCH] x86: Add check for number of available vectors before CPU down [v4]

2014-01-02 Thread Chen, Gong
Add some nitpicks below. Reviewed-by: Chen, Gong On Thu, Jan 02, 2014 at 07:47:24PM -0500, Prarit Bhargava wrote: > +int check_irq_vectors_for_cpu_disable(void) > +{ > + int irq, cpu; > + unsigned int vector, this_count, count; > + struct irq_desc *desc; > + struct irq_data *data

[PATCH] x86: Add check for number of available vectors before CPU down [v4]

2014-01-02 Thread Prarit Bhargava
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64791 When a cpu is downed on a system, the irqs on the cpu are assigned to other cpus. It is possible, however, that when a cpu is downed there aren't enough free vectors on the remaining cpus to account for the vectors from the cpu that is b