RE: [PATCH] ia64: prevent irq migration race in __cpu_disable path

Luck, Tony
2009-02-06T18:42:32Z

> 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