On Wed, 1 Aug 2007 15:33:58 +0200
Andrea Arcangeli <andrea@suse.de> wrote:
> 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)
Agreed - except when doing debug work then its an acceptable cost. You
still have to sort the debug side out because you are going to fault the
kernel stack which will probably then cause a triple fault and reboot on
the spot.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
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...?
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Andrea Arcangeli <andrea@suse.de>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Matt Mackall <mpm@selenic.com>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Andrea Arcangeli <andrea@suse.de>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Eric Sandeen <sandeen@sandeen.net>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: "Satyam Sharma" <satyam.sharma@gmail.com>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Eric Sandeen <sandeen@sandeen.net>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: "Dan Merillat" <dan.merillat@gmail.com>
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- From: Andrea Arcangeli <andrea@suse.de>
[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]