Re: A patch to arch/i386/kernel/irq.c to help get backtraces of (near) stack overflow situations
John Hughes <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.devel |
|---|---|
| Message-ID | <[email protected]> |
John Hughes wrote: > I'm working on a system that is using a bit too much stack to work > reliablty with 4K stacks (OpenSSI with DRBD for the root filesystem > replication) and I find that the CONFIG_DEBUG_STACKOVERFLOW stuff > works rather poorly - often the stack dump will cause a stack overflow > itself. > > Here's a little patch to irq.c to make stack overflow dumps use a > seperate stack. Andi Kleen helpfully points out that this problem is fixed in current kernels by http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=de9b10af1287bf25b9c0433de53a2e95ef611aa7 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword