Re: Strange interrupt behaviour

Linus Torvalds (torvalds@transmeta.com)
Sat, 11 Jul 1998 21:06:56 -0700 (PDT)


On 11 Jul 1998, Andi Kleen wrote:

> alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
>
> > 3. Drivers that get repeated interrupts appear to re-enter the handler
> > uncontrollably blow the stack and crash. I suspect nested interrupt
> > handling problems may be half the 8K stack issue, and could be tons
> > of our other remaining bugs.
>
> How about using a separate per-CPU 16K stack for interrupts, instead of
> handling them on the per-process kernel stack? Then we could probably
> switch back to 4K process kernel stacks too.

No, the interrupt stack issue must be a red herring. We must _never_ get
nested interrupts, no matter what. Using a separate stack is never an
acceptable solution, it just means we have other problems.

I don't think Alan is right about the interrupts, because I went through
those with a tooth-brush, but there might be something I missed. And there
might be something with bottom half handlers or similar - those are fairly
subtle too..

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html