Re: [2.6 patch] i386: always use 4k stacks

From: Andi Kleen (ak_at_suse.de)
Date: 11/16/05

  • Next message: Andi Kleen: "Re: [2.6 patch] i386: always use 4k stacks"
    To: Benjamin LaHaise <bcrl@kvack.org>
    Date:	Wed, 16 Nov 2005 20:08:50 +0100
    
    

    On Wednesday 16 November 2005 20:03, Benjamin LaHaise wrote:
    > On Wed, Nov 16, 2005 at 07:45:08PM +0100, Adrian Bunk wrote:
    > > The problem is similar no matter whether you have 4k or 8k stacks, but
    > > with 4k stacks you have the additional benefits of order 0 allocations
    > > and less memory usage.
    >
    > We could implement a stack guard page for the transition period, so that
    > any stack overflows would end up generating a fault. That's easy enough
    > to do by using vmalloc()

    And would add considerable overhead in TLB flushes and locking ...

    -Andi
    -
    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/


  • Next message: Andi Kleen: "Re: [2.6 patch] i386: always use 4k stacks"