aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Kconfig
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-05-11 01:22:35 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-11 11:29:34 -0400
commit02239c29967418284c05d58971894d658575e78c (patch)
treebe37214b7311729ff77afb00dca8de4f8bb7d7af /arch/um/Kconfig
parentc14b84949e127560084c7c56b365931c71c60768 (diff)
uml: shrink kernel stacks
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@linux.intel.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/Kconfig')
-rw-r--r--arch/um/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/Kconfig b/arch/um/Kconfig
index b9c0f307a8fa..c504312219b4 100644
--- a/arch/um/Kconfig
+++ b/arch/um/Kconfig
@@ -277,7 +277,8 @@ config HIGHMEM
277 277
278config KERNEL_STACK_ORDER 278config KERNEL_STACK_ORDER
279 int "Kernel stack size order" 279 int "Kernel stack size order"
280 default 2 280 default 1 if 64BIT
281 default 0 if !64BIT
281 help 282 help
282 This option determines the size of UML kernel stacks. They will 283 This option determines the size of UML kernel stacks. They will
283 be 1 << order pages. The default is OK unless you're running Valgrind 284 be 1 << order pages. The default is OK unless you're running Valgrind