Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/include Use all the changes from



details:   https://anonhg.NetBSD.org/src/rev/a945ba9b01c4
branches:  trunk
changeset: 338881:a945ba9b01c4
user:      phx <phx%NetBSD.org@localhost>
date:      Sat Jun 13 23:55:18 2015 +0000

description:
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.

diffstat:

 sys/arch/amiga/include/vmparam.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 3a1579e82c9e -r a945ba9b01c4 sys/arch/amiga/include/vmparam.h
--- a/sys/arch/amiga/include/vmparam.h  Sat Jun 13 23:33:20 2015 +0000
+++ b/sys/arch/amiga/include/vmparam.h  Sat Jun 13 23:55:18 2015 +0000
@@ -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 @@
 /*
  * 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_ */



Home | Main Index | Thread Index | Old Index