On Mon, Apr 30, 2007 at 10:38:19AM -0700, William Lee Irwin III wrote: >>> Here's what I did for i386 for someone concerned about blowing the stack. On Mon, Apr 30, 2007 at 10:45:10AM -0700, William Lee Irwin III wrote: >> Add checks to __pa() so it goes BUG() on vmallocspace addresses. On Mon, Apr 30, 2007 at 08:52:42PM +0200, Andi Kleen wrote: > Sorry I think that's too costly to do. __pa is pretty common The original intention essentially ignored efficiency. I've no objection to dropping whatever pieces don't fit (or, for that matter, whatever sort of NIH). The hope in posting all this was that some piece might be found useful as an example or guide to doing the real patches for mainline. If any of it is useful as it stands, that's good too. -- 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/
- 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]>
- [4/6] go BUG on vmallocspace in __pa() (was: Re: [-mm patch] i386: enable 4k stacks by default)
- From: William Lee Irwin III <[email protected]>
- Re: [4/6] go BUG on vmallocspace in __pa() (was: Re: [-mm patch] i386: enable 4k stacks by default)
- From: Andi Kleen <[email protected]>
- [-mm patch] i386: enable 4k stacks by default
- Prev by Date: Re: Linux 2.6.21
- Next by Date: Re: can a kmalloc be both GFP_ATOMIC and GFP_KERNEL at the same time?
- Previous by thread: Re: [4/6] go BUG on vmallocspace in __pa() (was: Re: [-mm patch] i386: enable 4k stacks by default)
- Next by thread: Re: [4/6] go BUG on vmallocspace in __pa() (was: Re: [-mm patch] i386: enable 4k stacks by default)
- Index(es):