Re: [PATCH] Prevent nested interrupts when the IRQ stack is nearoverflowing v2
From: Thomas Gleixner
Date: Thu Mar 25 2010 - 12:52:37 EST
On Thu, 25 Mar 2010, Linus Torvalds wrote:
> In particular, it's probably true that especially on modern hardware with
> multiple cores, and especially when you do _not_ have irq sharing (which
> is the common case these days for things like network drivers that can use
> MSI), we really would be better off having the irq disabled over the whole
> thing, and on some interrupt controllers it might even be worth it to do
> the old optimization of not masking-and-acking, but just acking.
>
> But see above. This is _not_ something that a driver can do any more. They
> don't know whether the interrupt might end up being shared. Just blindly
> setting IRAF_DISABLED in a driver is _not_ the answer. But being smarter
> in the generic irq handler code might work.
For the MSI ones it definitely works as they can not be shared. I'm
just not sure whether we can just enforce that for MSI.
Thanks,
tglx
--
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/