Re: [RFC 2/2] x86_64: expand kernel stack to 16K

From: Steven Rostedt
Date: Wed May 28 2014 - 12:08:24 EST


On Wed, 28 May 2014 17:43:50 +0200
Richard Weinberger <richard.weinberger@xxxxxxxxx> wrote:


> > diff --git a/arch/x86/include/asm/page_64_types.h b/arch/x86/include/asm/page_64_types.h
> > index 8de6d9cf3b95..678205195ae1 100644
> > --- a/arch/x86/include/asm/page_64_types.h
> > +++ b/arch/x86/include/asm/page_64_types.h
> > @@ -1,7 +1,7 @@
> > #ifndef _ASM_X86_PAGE_64_DEFS_H
> > #define _ASM_X86_PAGE_64_DEFS_H
> >
> > -#define THREAD_SIZE_ORDER 1
> > +#define THREAD_SIZE_ORDER 2
> > #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER)
> > #define CURRENT_MASK (~(THREAD_SIZE - 1))
>
> Do you have any numbers of the performance impact of this?
>

What performance impact are you looking for? Now if the system is short
on memory, it would probably cause issues in creating tasks. But other
than that, I'm not sure what you are looking for.

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/