Re: [PATCH] Prevent nested interrupts when the IRQ stack is nearoverflowing v2

From: Linus Torvalds
Date: Thu Mar 25 2010 - 16:45:57 EST




On Thu, 25 Mar 2010, David Miller wrote:
>
> FWIW, I'm currently using IRQF_DISABLED for virtual network
> device interrupts on sparc64 as a workaround for some stack
> overflow issues.
>
> This change will just force me to work harder to find out a better way
> to fix the problem, so don't let my issue hold this back, it's just
> an FYI...

You missed the point of the patch.

It makes _all_ interrupts act like IRQF_DISABLED. So it actually fixes
your issue, by making IRQF_DISABLE a no-op - not because it doesn't exist
any more, but because the non-IRQF_DISABLED case would not exist any more.

Linus
--
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/