On Mon, Dec 23, 2013 at 09:39:12AM -0500, Prarit Bhargava wrote: > 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++; Hi, Prarit I noticed that you don't mention another question I asked in last mail. "It looks like cpu_online_mask will be updated until cpu_disable_common is called, but your check_vectors is called before that." native_cpu_disable cpu_disable_common remove_cpu_from_maps /* * until here, cpu_online_mask/cpu_online_bits * is cleared */ set_cpu_online(cpu, false); Something I missed?
Attachment:
signature.asc
Description: Digital signature