apps,nanos-lite,proc: change stack size to 1MB

This commit is contained in:
Zihao Yu 2017-08-11 23:07:06 +08:00
parent b81ecd9fc2
commit 2a54148d10
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#include "common.h"
#include "memory.h"
#define STACK_SIZE (128 * PGSIZE)
#define STACK_SIZE (256 * PGSIZE)
typedef union {
uint8_t stack[STACK_SIZE] PG_ALIGN;
@ -12,7 +12,7 @@ typedef union {
_RegSet *tf;
_Protect as;
uintptr_t cur_brk;
// we do not free memory, so use `max_brk' to determine whether to call mm_malloc()
// we do not free memory, so use `max_brk' to determine when to call _map()
uintptr_t max_brk;
};
} PCB;