Patch is against linux-tip.git and was tested on both linux.git and tip without any issues. As expected, the number of required vectors for the down'd cpu drops from 202 to 181 on my test system (which has 509 vectors assigned in total).
Many thanks to Gong Chen for catching this. P. ----8<---- Gong Chen caught this coding error during inspection of the patch. The code should be AND not OR. Signed-off-by: Prarit Bhargava <[email protected]> Cc: Michel Lespinasse <[email protected]> Cc: Seiji Aguchi <[email protected]> Cc: Yang Zhang <[email protected]> Cc: Paul Gortmaker <[email protected]> Cc: Janet Morgan <[email protected]> Cc: Tony Luck <[email protected]> Cc: Ruiv Wang <[email protected]> Cc: Gong Chen <[email protected]> Cc: Andi Kleen <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: [email protected] Cc: <[email protected]> --- arch/x86/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c index 7d40698..aed7acc 100644 --- a/arch/x86/kernel/irq.c +++ b/arch/x86/kernel/irq.c @@ -281,7 +281,7 @@ int check_irq_vectors_for_cpu_disable(void) desc = irq_to_desc(irq); data = irq_desc_get_irq_data(desc); affinity = data->affinity; - if (irq_has_action(irq) || !irqd_is_per_cpu(data) || + if (irq_has_action(irq) && !irqd_is_per_cpu(data) && !cpumask_subset(affinity, cpu_online_mask)) this_count++; } -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
