lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: x86: 4kstacks default

* Eric Sandeen <sandeen@sandeen.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


\
 
 \ /
  Last update: 2008-04-21 16:35    [W:0.152 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site