[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49707BA9.1040102@Calva.COM>
Date: Fri, 16 Jan 2009 13:20:57 +0100
From: John Hughes <john@...va.COM>
To: linux-kernel@...r.kernel.org
Subject: A patch to arch/i386/kernel/irq.c to help get backtraces of (near)
stack overflow situations
I'm working on a system that is using a bit too much stack to work
reliably 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
separate stack.
It's based on 2.6.12 'cos that's how out of date I am. :-)
Maybe it'll be of use to someone.
Please CC john@...va.com with any comments, I'm not subscribed to the list.
View attachment "arch-i386-kernel-irq.c-overflow.patch" of type "text/x-patch" (3319 bytes)
Powered by blists - more mailing lists