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

Linus Torvalds
2010-03-25T20:45:50Z

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