From: Ben Gras Date: Tue, 19 Feb 2013 12:52:52 +0000 (+0100) Subject: kernel: more stack for vm X-Git-Tag: v3.3.0~1142 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=b18224051a979e26d0e8cebdfa20c5f3e97a4300;p=minix.git kernel: more stack for vm --- 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;