[PATCH 1/2] boot: increase stack size for kernel boot loader decompressor

Previous thread: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus by Mike Travis on Tuesday, March 25, 2008 - 9:41 pm. (7 messages)

Next thread: Linux 2.6.25-rc7 by Linus Torvalds on Tuesday, March 25, 2008 - 10:07 pm. (12 messages)
To: Andrew Morton <akpm@...>
Cc: Ingo Molnar <mingo@...>, <linux-mm@...>, <linux-kernel@...>
Date: Tuesday, March 25, 2008 - 9:41 pm

Increase stack size for the kernel bootloader decompressor. This is
needed to boot a kernel with NR_CPUS = 4096. I tested with 8k stack
size but that wasn't sufficient.

Based on:
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86.git

Signed-off-by: Mike Travis <travis@sgi.com>
---
arch/x86/boot/compressed/head_64.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.25-rc5.orig/arch/x86/boot/compressed/head_64.S
+++ linux-2.6.25-rc5/arch/x86/boot/compressed/head_64.S
@@ -314,5 +314,5 @@ gdt_end:
/* Stack for uncompression */
.balign 4
user_stack:
- .fill 4096,4,0
+ .fill 16384,4,0
user_stack_end:

--
--

Previous thread: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus by Mike Travis on Tuesday, March 25, 2008 - 9:41 pm. (7 messages)

Next thread: Linux 2.6.25-rc7 by Linus Torvalds on Tuesday, March 25, 2008 - 10:07 pm. (12 messages)