RE: [PATCH] ia64: prevent irq migration race in __cpu_disable path
From: Luck, Tony
Date: Fri Feb 06 2009 - 13:42:34 EST
> This is wrong because fixup_irqs calls migrate_irqs, and in
> migrate_irqs, we use the cpu_online_map to:
>
> 1. look for interrupts on current CPU
> 2. if we find one, move it to the first available CPU in
> the cpu_online_map
>
> This means we can potentially migrate an interrupt off ourself
> back to... ourself. Uh oh.
Should we make migrate_irqs smarter then ... does any caller really
expect that it would "migrate" the irq to the same cpu?
-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/