From: Thomas Veerman Date: Wed, 23 Jan 2013 13:54:41 +0000 (+0100) Subject: VM: ARM needs more spare pages X-Git-Tag: v3.2.1~68 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=b3250450fe3a626d657c4226ab02830bc4a71a63;p=minix.git VM: ARM needs more spare pages --- diff --git a/servers/vm/arch/i386/pagetable.c b/servers/vm/arch/i386/pagetable.c index 5a3f2dd07..660e91178 100644 --- a/servers/vm/arch/i386/pagetable.c +++ b/servers/vm/arch/i386/pagetable.c @@ -58,8 +58,13 @@ struct vmproc *vmprocess = &vmproc[VM_PROC_NR]; #define SPAREPAGES 100 #define STATIC_SPAREPAGES 90 #else -#define SPAREPAGES 20 -#define STATIC_SPAREPAGES 15 +#ifdef __arm__ +# define SPAREPAGES 80 +# define STATIC_SPAREPAGES 75 +#else +# define SPAREPAGES 20 +# define STATIC_SPAREPAGES 15 +#endif /* __arm__ */ #endif #define SPAREPAGEDIRS 11