Messages in this thread |  | | Date | Wed, 26 Sep 2001 09:29:26 -0400 | From | Brian Gerst <> | Subject | Re: stack overflow? |
| |
Christian Widmer wrote: > > hi > > i saw very strange behaviour when debuging my modules and i start to think > about stack overflow. i know that the kernel stack of eache process is some > what smaller than 8KB. but how big is the kernelstack during interrupt time > when executing tasklets?
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/
|  |