From b18224051a979e26d0e8cebdfa20c5f3e97a4300 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 19 Feb 2013 13:52:52 +0100 Subject: [PATCH] kernel: more stack for vm --- kernel/arch/earm/protect.c | 2 +- kernel/arch/i386/protect.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/arch/earm/protect.c b/kernel/arch/earm/protect.c index fd8b41617..fe6df33d9 100644 --- a/kernel/arch/earm/protect.c +++ b/kernel/arch/earm/protect.c @@ -128,7 +128,7 @@ void arch_boot_proc(struct boot_image *ip, struct proc *rp) /* exec parameters */ execi.stack_high = kinfo.user_sp; - execi.stack_size = 32 * 1024; /* not too crazy as it must be preallocated */ + execi.stack_size = 64 * 1024; /* not too crazy as it must be preallocated */ execi.proc_e = ip->endpoint; execi.hdr = (char *) mod->mod_start; /* phys mem direct */ execi.filesize = execi.hdr_len = mod->mod_end - mod->mod_start; diff --git a/kernel/arch/i386/protect.c b/kernel/arch/i386/protect.c index fe9d23f3f..22acc3350 100644 --- a/kernel/arch/i386/protect.c +++ b/kernel/arch/i386/protect.c @@ -404,7 +404,7 @@ void arch_boot_proc(struct boot_image *ip, struct proc *rp) /* exec parameters */ execi.stack_high = kinfo.user_sp; - execi.stack_size = 16 * 1024; /* not too crazy as it must be preallocated */ + execi.stack_size = 64 * 1024; /* not too crazy as it must be preallocated */ execi.proc_e = ip->endpoint; execi.hdr = (char *) mod->mod_start; /* phys mem direct */ execi.filesize = execi.hdr_len = mod->mod_end - mod->mod_start;