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

From: Alan Cox
Date: Thu Mar 25 2010 - 07:56:37 EST


> time. What's the point of running it with interrupts enabled ?

The underlying question you posed was why don't we kill off the running
with irqs enabled cases. That requires more work but should definitely
happen.

> Nothing, we just run into stack overflow problems. So what's better:
> an unreliable and ugly hackaround or just avoiding the possible stack
> overflow in the first place ?

I think you are trying to have a debate when we are in agreement anyway.
I don't btw think the workaround is 'unreliable', ugly as sin yes but the
logic appears sound.

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