[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57C9024A16AD2D4C97DC78E552063EA36121A469@orsmsx505.amr.corp.intel.com>
Date: Fri, 6 Feb 2009 10:42:07 -0800
From: "Luck, Tony" <tony.luck@...el.com>
To: Alex Chiang <achiang@...com>
CC: "paulmck@...ux.vnet.ibm.com" <paulmck@...ux.vnet.ibm.com>,
"stable@...nel.org" <stable@...nel.org>,
"linux-ia64@...r.kernel.org" <linux-ia64@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] ia64: prevent irq migration race in __cpu_disable path
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists