summaryrefslogtreecommitdiff
path: root/kern
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-10-07 21:32:57 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-10-07 21:32:57 +0200
commite8f87dc5ac86ed6c42119cf40f8fc30171bb7248 (patch)
treeab442248f72664db2327bdb1b095ddd1efeffd64 /kern
parent282ee33066deef5ade5afe952a59d265ea3b0736 (diff)
bootstrap: Increase STACK_SIZE
* kern/bootstrap.c (STACK_SIZE): Set to 128KB. glibc's __MAX_ALLOCA_CUTOFF is 64K by default.
Diffstat (limited to 'kern')
-rw-r--r--kern/bootstrap.c2
1 files changed, 1 insertions, 1 deletions
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.