[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.00.1003251339470.3721@i5.linux-foundation.org>
Date: Thu, 25 Mar 2010 13:40:43 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: David Miller <davem@...emloft.net>
cc: mingo@...e.hu, peterz@...radead.org, tglx@...utronix.de,
andi@...stfloor.org, x86@...nel.org, linux-kernel@...r.kernel.org,
jesse.brandeburg@...el.com
Subject: Re: [PATCH] Prevent nested interrupts when the IRQ stack is near
overflowing v2
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@...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