Module Name:    src
Committed By:   riz
Date:           Fri Nov  6 00:49:14 UTC 2015

Modified Files:
        src/sys/arch/amiga/include [netbsd-7]: vmparam.h

Log Message:
Pull up following revision(s) (requested by phx in ticket #986):
        sys/arch/amiga/include/vmparam.h: revision 1.44
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.42.30.1 -r1.42.30.2 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.42.30.1 src/sys/arch/amiga/include/vmparam.h:1.42.30.2
--- src/sys/arch/amiga/include/vmparam.h:1.42.30.1	Mon Jun 29 17:21:27 2015
+++ src/sys/arch/amiga/include/vmparam.h	Fri Nov  6 00:49:14 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.42.30.1 2015/06/29 17:21:27 snj Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.42.30.2 2015/11/06 00:49:14 riz 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_ */

Reply via email to