The patch titled uml: shrink kernel stacks has been added to the -mm tree. Its filename is uml-shrink-kernel-stacks.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: uml: shrink kernel stacks From: Jeff Dike <jdike@xxxxxxxxxxx> Make kernel stacks be 1 page on i386 and 2 pages on x86_64. These match the host values. Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxxxxxx> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/um/Kconfig | 3 ++- arch/um/defconfig | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff -puN arch/um/Kconfig~uml-shrink-kernel-stacks arch/um/Kconfig --- a/arch/um/Kconfig~uml-shrink-kernel-stacks +++ a/arch/um/Kconfig @@ -277,7 +277,8 @@ config HIGHMEM config KERNEL_STACK_ORDER int "Kernel stack size order" - default 2 + default 1 if 64BIT + default 0 if !64BIT help This option determines the size of UML kernel stacks. They will be 1 << order pages. The default is OK unless you're running Valgrind diff -puN arch/um/defconfig~uml-shrink-kernel-stacks arch/um/defconfig --- a/arch/um/defconfig~uml-shrink-kernel-stacks +++ a/arch/um/defconfig @@ -86,7 +86,7 @@ CONFIG_MCONSOLE=y # CONFIG_MAGIC_SYSRQ is not set CONFIG_NEST_LEVEL=0 # CONFIG_HIGHMEM is not set -CONFIG_KERNEL_STACK_ORDER=2 +CONFIG_KERNEL_STACK_ORDER=0 CONFIG_UML_REAL_TIME_CLOCK=y # _ Patches currently in -mm which might be from jdike@xxxxxxxxxxx are origin.patch uml-remove-task_protections.patch uml-use-um_thread_size-in-userspace-code.patch uml-tidy-irq-code.patch uml-irq-stacks.patch uml-monitor-stack-usage.patch uml-shrink-kernel-stacks.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html