Depends on the architecture, but on the x86 there is no stack switch
when you receive an interrupt in kernel mode. Thus, if too many
interrupts occur you could potentially overflow the stack. If
interrupted from user mode the stack switches to the top of the kernel
stack.
--Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/