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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Thursday, March 25, 2010 - 5:11 am

On Thu, Mar 25, 2010 at 12:09:10PM +0100, Thomas Gleixner wrote:

I believe it's more like that you have a lot of them (even with interrupt
mitigation and NAPI polling) and they have to scale up the work to handle
high bandwidths, so it ends up with a lot of time in them anyways,
 ending with skew in the timers and similar issues.

Anyways my goal here was simply to have a least intrusive fix, not
change semantics for everyone.


Yes it could work out this. Or it could not. I'm not sure, so I chose
the safe option.


Ok so you're just proposing to always set IRQF_DISABLED? 

If you can force everyone to use that that would work I guess.

I don't know what problems it would cause. My fear is that any latency problems
would be answered with a "move to RT, moron" from your mouth though.


It fixes the bug in a minimally intrusive way.

Sorry you got that wrong. I'm not proposing to change semantics, you
are proposing that. So you would need to prove anything if at all.

Anyways if you think you can write a better patch to fix that bug
please fell free to write one.

-Andi
-- 
ak@linux.intel.com -- Speaking for myself only.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Prevent nested interrupts when the IRQ stack i ..., Andi Kleen, (Thu Mar 25, 5:11 am)
Re: [PATCH] Prevent nested interrupts when the IRQ stack i ..., Eric W. Biederman, (Thu Mar 25, 9:55 pm)