]> Zhao Yanbai Git Server - minix.git/commitdiff
VM: ARM needs more spare pages
authorThomas Veerman <thomas@minix3.org>
Wed, 23 Jan 2013 13:54:41 +0000 (14:54 +0100)
committerThomas Veerman <thomas@minix3.org>
Fri, 25 Jan 2013 17:07:02 +0000 (17:07 +0000)
servers/vm/arch/i386/pagetable.c

index 5a3f2dd07f8f9f4ff24a1a6240d6fe29668a5dec..660e91178376ad0de1c23b7d94856fd4ab58b0ee 100644 (file)
@@ -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