Module Name: src
Committed By: phx
Date: Sat Jun 13 23:55:18 UTC 2015
Modified Files:
src/sys/arch/amiga/include: vmparam.h
Log Message:
Use all the changes from
http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/vmparam.diff
after a discussion on port-m68k. I tested them on several Amiga models
and they seem to work fine.
This gives us the maximum virtual memory space for a process under the
current 512MB pmap limitation.
Also bump VM_KERNEL_PT_PAGES to allow up to 2 GB RAM.
To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/amiga/include/vmparam.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amiga/include/vmparam.h
diff -u src/sys/arch/amiga/include/vmparam.h:1.43 src/sys/arch/amiga/include/vmparam.h:1.44
--- src/sys/arch/amiga/include/vmparam.h:1.43 Mon Jun 1 17:16:56 2015
+++ src/sys/arch/amiga/include/vmparam.h Sat Jun 13 23:55:18 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.43 2015/06/01 17:16:56 phx Exp $ */
+/* $NetBSD: vmparam.h,v 1.44 2015/06/13 23:55:18 phx Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -70,13 +70,13 @@
*/
#ifndef MAXTSIZ
-#define MAXTSIZ (16*1024*1024) /* max text size */
+#define MAXTSIZ (32*1024*1024) /* max text size */
#endif
#ifndef DFLDSIZ
-#define DFLDSIZ (32*1024*1024) /* initial data size limit */
+#define DFLDSIZ (64*1024*1024) /* initial data size limit */
#endif
#ifndef MAXDSIZ
-#define MAXDSIZ (256*1024*1024) /* max data size */
+#define MAXDSIZ (416*1024*1024) /* max data size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
@@ -138,5 +138,5 @@ struct pmap_physseg {
/*
* number of kernel PT pages (initial only, can grow dynamically)
*/
-#define VM_KERNEL_PT_PAGES ((vm_size_t)8) /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES ((vm_size_t)10) /* XXX: SYSPTSIZE */
#endif /* !_MACHINE_VMPARAM_H_ */