summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2012-07-01 15:31:35 +0000
committermiod <miod@openbsd.org>2012-07-01 15:31:35 +0000
commitf954be3806531d57cd0ff90af10c3fb5155a3f20 (patch)
treef429db29c4246ba89e4df27c4820f42bf990a307
parentPass a width value corresponding to one finger for ALPS touchpads when the (diff)
downloadwireguard-openbsd-f954be3806531d57cd0ff90af10c3fb5155a3f20.tar.xz
wireguard-openbsd-f954be3806531d57cd0ff90af10c3fb5155a3f20.zip
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@
-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