summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-03-26 19:39:40 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-03-26 19:39:40 +0000
commit9e488687a603fe3fc369b7d3cd8a0e2ebcbdd2a8 (patch)
treead0d14d83ac927f6741156846f880db5430f6e4b
parent6c591192b92b8c91709a6e192e51513621f47098 (diff)
Increase max data size. 32G is the new 640K.
Using this much memory may have negative side effects, but at least now you have the option. Here's some rope; have fun. maybe ok a few people.
-rw-r--r--sys/arch/amd64/include/vmparam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/vmparam.h b/sys/arch/amd64/include/vmparam.h
index cc78a8a8b7c..3b3e2af21f8 100644
--- a/sys/arch/amd64/include/vmparam.h
+++ b/sys/arch/amd64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.18 2014/01/30 18:16:41 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.19 2014/03/26 19:39:39 tedu Exp $ */
/* $NetBSD: vmparam.h,v 1.1 2003/04/26 18:39:49 fvdl Exp $ */
/*-
@@ -60,10 +60,10 @@
#define DFLDSIZ ((paddr_t)128*1024*1024) /* initial data size limit */
#endif
#ifndef MAXDSIZ
-#define MAXDSIZ ((paddr_t)8*1024*1024*1024) /* max data size */
+#define MAXDSIZ ((paddr_t)32*1024*1024*1024) /* max data size */
#endif
#ifndef BRKSIZ
-#define BRKSIZ MAXDSIZ /* heap gap size */
+#define BRKSIZ ((paddr_t)8*1024*1024*1024) /* heap gap size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ ((paddr_t)2*1024*1024) /* initial stack size limit */