On Mon, Apr 30, 2007 at 10:43:10AM -0700, William Lee Irwin III wrote: >> Add a config option to vmalloc() task stacks so that stack overflows are >> detected without fail, and with a fatal failure mode at that. On Mon, Apr 30, 2007 at 07:11:04PM +0100, Christoph Hellwig wrote: > Whee, this sounds like a really helpful although costly debugging option. If desired, I can redo it standalone. It should be clear from the remainder of the series of debug patches that it's readily extensible to IRQ stacks for similar purposes, as IRQ stacks are similarly vmalloc()'d by later patches in the series. The patch to make __pa() BUG() on vmallocspace addresses may also be worthy of consideration in conjunction with vmalloc()'ing the stack. That particular patch was suggested by freitag. -- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [-mm patch] i386: enable 4k stacks by default
- From: Adrian Bunk <[email protected]>
- Re: [-mm patch] i386: enable 4k stacks by default
- From: Zan Lynx <[email protected]>
- Re: [-mm patch] i386: enable 4k stacks by default
- From: David Chinner <[email protected]>
- Re: [-mm patch] i386: enable 4k stacks by default
- From: Alan Cox <[email protected]>
- Re: [-mm patch] i386: enable 4k stacks by default
- From: Andi Kleen <[email protected]>
- Re: [-mm patch] i386: enable 4k stacks by default
- From: Christoph Hellwig <[email protected]>
- Re: [-mm patch] i386: enable 4k stacks by default
- From: Andi Kleen <[email protected]>
- Re: [-mm patch] i386: enable 4k stacks by default
- From: William Lee Irwin III <[email protected]>
- [2/6] add config option to vmalloc stacks (was: Re: [-mm patch] i386: enable 4k stacks by default)
- From: William Lee Irwin III <[email protected]>
- Re: [2/6] add config option to vmalloc stacks (was: Re: [-mm patch] i386: enable 4k stacks by default)
- From: Christoph Hellwig <[email protected]>
- [-mm patch] i386: enable 4k stacks by default
- Prev by Date: Re: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the same time?
- Next by Date: Re: [patch] cpufreq: do not declare undefined functions
- Previous by thread: Re: [2/6] add config option to vmalloc stacks (was: Re: [-mm patch] i386: enable 4k stacks by default)
- Next by thread: Re: [2/6] add config option to vmalloc stacks (was: Re: [-mm patch] i386: enable 4k stacks by default)
- Index(es):