* [PATCH 6/6] UML - Shrink kernel stacks
@ 2007-05-09 20:27 Jeff Dike
0 siblings, 0 replies; only message in thread
From: Jeff Dike @ 2007-05-09 20:27 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, uml-devel
Make kernel stacks be 1 page on i386 and 2 pages on x86_64. These
matche the host values.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
--
arch/um/Kconfig | 2 +-
arch/um/defconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6.21-mm/arch/um/Kconfig
===================================================================
--- linux-2.6.21-mm.orig/arch/um/Kconfig 2007-05-09 15:45:56.000000000 -0400
+++ linux-2.6.21-mm/arch/um/Kconfig 2007-05-09 16:06:03.000000000 -0400
@@ -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
Index: linux-2.6.21-mm/arch/um/defconfig
===================================================================
--- linux-2.6.21-mm.orig/arch/um/defconfig 2007-05-09 15:45:56.000000000 -0400
+++ linux-2.6.21-mm/arch/um/defconfig 2007-05-09 15:57:20.000000000 -0400
@@ -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
#
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-09 20:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 20:27 [PATCH 6/6] UML - Shrink kernel stacks Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox