Fri Nov 6 20:23:56 2015 UTC ()
Pull up following revision(s) (requested by phx in ticket #989):
	sys/arch/amiga/include/vmparam.h: revision 1.46
Reduce MAXDSIZ from 416MB back to 224MB.
Due to limitations by the current pmap implementation our virtual address
space is limited to 512MB. A MAXDSIZ of 416MB would leave only a little bit
more than 30MB for shared objects and heap allocations, so 224MB seems like
a good compromise.


(riz)
diff -r1.42.30.2 -r1.42.30.3 src/sys/arch/amiga/include/vmparam.h

cvs diff -r1.42.30.2 -r1.42.30.3 src/sys/arch/amiga/include/vmparam.h (expand / switch to unified diff)

--- src/sys/arch/amiga/include/vmparam.h 2015/11/06 00:49:14 1.42.30.2
+++ src/sys/arch/amiga/include/vmparam.h 2015/11/06 20:23:56 1.42.30.3
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: vmparam.h,v 1.42.30.2 2015/11/06 00:49:14 riz Exp $ */ 1/* $NetBSD: vmparam.h,v 1.42.30.3 2015/11/06 20:23:56 riz Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 1988 University of Utah. 4 * Copyright (c) 1988 University of Utah.
5 * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. 5 * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
6 * All rights reserved. 6 * All rights reserved.
7 * 7 *
8 * This code is derived from software contributed to Berkeley by 8 * This code is derived from software contributed to Berkeley by
9 * the Systems Programming Group of the University of Utah Computer 9 * the Systems Programming Group of the University of Utah Computer
10 * Science Department. 10 * Science Department.
11 * 11 *
12 * Redistribution and use in source and binary forms, with or without 12 * Redistribution and use in source and binary forms, with or without
13 * modification, are permitted provided that the following conditions 13 * modification, are permitted provided that the following conditions
14 * are met: 14 * are met:
@@ -66,27 +66,27 @@ @@ -66,27 +66,27 @@
66#endif 66#endif
67 67
68/* 68/*
69 * Virtual memory related constants, all in bytes 69 * Virtual memory related constants, all in bytes
70 */ 70 */
71 71
72#ifndef MAXTSIZ 72#ifndef MAXTSIZ
73#define MAXTSIZ (32*1024*1024) /* max text size */ 73#define MAXTSIZ (32*1024*1024) /* max text size */
74#endif 74#endif
75#ifndef DFLDSIZ 75#ifndef DFLDSIZ
76#define DFLDSIZ (64*1024*1024) /* initial data size limit */ 76#define DFLDSIZ (64*1024*1024) /* initial data size limit */
77#endif 77#endif
78#ifndef MAXDSIZ 78#ifndef MAXDSIZ
79#define MAXDSIZ (416*1024*1024) /* max data size */ 79#define MAXDSIZ (224*1024*1024) /* max data size */
80#endif 80#endif
81#ifndef DFLSSIZ 81#ifndef DFLSSIZ
82#define DFLSSIZ (2*1024*1024) /* initial stack size limit */ 82#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
83#endif 83#endif
84#ifndef MAXSSIZ 84#ifndef MAXSSIZ
85#define MAXSSIZ (32*1024*1024) /* max stack size */ 85#define MAXSSIZ (32*1024*1024) /* max stack size */
86#endif 86#endif
87 87
88/* 88/*
89 * PTEs for mapping user space into the kernel for phyio operations. 89 * PTEs for mapping user space into the kernel for phyio operations.
90 * One page is enough to handle 16Mb of simultaneous raw IO operations. 90 * One page is enough to handle 16Mb of simultaneous raw IO operations.
91 */ 91 */
92#ifndef USRIOSIZE 92#ifndef USRIOSIZE