[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080421143145.GW9554@elte.hu>
Date: Mon, 21 Apr 2008 16:31:45 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Eric Sandeen <sandeen@...deen.net>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Arjan van de Ven <arjan@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: x86: 4kstacks default
* Eric Sandeen <sandeen@...deen.net> wrote:
> > and we've conducted tens of thousands of bootup tests with all sorts
> > of drivers and kernel options enabled and have yet to see a single
> > crash due to 4K stacks.
>
> Really, not one?
>
> https://bugzilla.redhat.com/show_bug.cgi?id=247158
> https://bugzilla.redhat.com/show_bug.cgi?id=227331
> https://bugzilla.redhat.com/show_bug.cgi?id=240077
>
> (hehe, ok, xfs is a common component there...)
>
> and it's not always obvious that you've overflowed the stack.
>
> CONFIG_DEBUG_STACKOVERFLOW isn't ery useful because the warning printk
> it generates uses the remaining amount of stack, and tips the box.
note that in -rt we have an ftrace plugin that measures _precise_ stack
footprint, when it happens.
so it's possible to measure exact stack footprint and save a stack trace
when that happens.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists