summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2012-07-01 15:31:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2012-07-01 15:31:36 +0000
commit87a33275d043884ff5a7153fc139c29f6729e2fe (patch)
tree78a45298409282ec34cb7789465b8f7cc45dc487 /sys/arch
parent2e33fa9fe7513e201c072be40e154f7ebc7804b7 (diff)
Increase default and maximum text, data and stack size limits; this is required
to build X at -O2 nowadays, as well as an increasing number of ports. Based upon a diff from Brad, with a few values stripped down to fit within the sun4/4c virtual address space limitation. Discussed with deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/include/vmparam.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/sparc/include/vmparam.h b/sys/arch/sparc/include/vmparam.h
index 1d7492b1945..1e39d85f0df 100644
--- a/sys/arch/sparc/include/vmparam.h
+++ b/sys/arch/sparc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.38 2011/05/30 22:25:22 oga Exp $ */
+/* $OpenBSD: vmparam.h,v 1.39 2012/07/01 15:31:35 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.13 1997/07/12 16:20:03 perry Exp $ */
/*
@@ -59,22 +59,22 @@
* Virtual memory related constants, all in bytes
*/
#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 (128*1024*1024) /* max data size */
+#define MAXDSIZ (256*1024*1024) /* max data size */
#endif
#ifndef BRKSIZ
#define BRKSIZ MAXDSIZ /* heap gap size */
#endif
#ifndef DFLSSIZ
-#define DFLSSIZ (512*1024) /* initial stack size limit */
+#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ MAXDSIZ /* max stack size */
+#define MAXSSIZ (128*1024*1024) /* max stack size */
#endif
#define STACKGAP_RANDOM 64*1024