From e8f87dc5ac86ed6c42119cf40f8fc30171bb7248 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 7 Oct 2020 21:32:57 +0200 Subject: bootstrap: Increase STACK_SIZE * kern/bootstrap.c (STACK_SIZE): Set to 128KB. glibc's __MAX_ALLOCA_CUTOFF is 64K by default. --- kern/bootstrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/bootstrap.c') diff --git a/kern/bootstrap.c b/kern/bootstrap.c index 00064cef..60e1ad58 100644 --- a/kern/bootstrap.c +++ b/kern/bootstrap.c @@ -570,7 +570,7 @@ build_args_and_stack(struct exec_info *boot_exec_info, char * zero = (char *)0; int i; -#define STACK_SIZE (64*1024) +#define STACK_SIZE (2*64*1024) /* * Calculate the size of the argument list. -- cgit v1.2.3