On Wed, Aug 01, 2007 at 04:11:23AM -0400, Dan Merillat wrote:
> How expensive would it be to allocate two , then use the MMU mark the
> second page unwritable? Hardware wise it should be possible, (for
Tweaking kernel ptes is prohibitive during clone() because that's
kernel memory and it would require a flush tlb all with IPIs that
won't scale (IPIs are really the blocker). Basically vmalloc already
does what you suggest with the gap page and yet we can't use it for
performance reasons. Kernel stack should be readable by any context to
allow sysrq+t kind of things, so I doubt it's feasible to do tricks to
avoid ipis.
-
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:
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]