Re: linux interrupt handling problem

Linus Torvalds (torvalds@transmeta.com)
Tue, 9 Nov 1999 08:22:06 -0800 (PST)


On Tue, 9 Nov 1999, Alan Cox wrote:
>
> I can find no requirement that sti() in interrupts actually does anything.
> It seems quite permissible for it to be a non inside of an IRQ handler or
> to only lower the level to the current irq level

That is in fact what Linux/SMP does in various situations: a "sti()" in an
interrupt handler on SMP/i386 will be just a "local" sti(), while ir in
normal situations will be a "global" sti().

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.tux.org/lkml/