summaryrefslogtreecommitdiffstats
path: root/sys/arch
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-05-31 20:11:11 +0000
committermiod <miod@openbsd.org>2014-05-31 20:11:11 +0000
commit8127a468e7825090578fa21f35d98422ce45f68f (patch)
treeb90d262ef329bc3315adb31ac2f29b91f6cd9c50 /sys/arch
parentBUF_MEM_grow_clean() takes a size_t as the size argument. Remove false comments (diff)
downloadwireguard-openbsd-8127a468e7825090578fa21f35d98422ce45f68f.tar.xz
wireguard-openbsd-8127a468e7825090578fa21f35d98422ce45f68f.zip
Reduce MAXSSIZ to 32MB to match all other platforms; noticed by tobiasu@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/include/vmparam.h4
-rw-r--r--sys/arch/hppa64/include/vmparam.h4
-rw-r--r--sys/arch/m88k/include/vmparam.h4
-rw-r--r--sys/arch/sparc/include/vmparam.h4
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/hppa/include/vmparam.h b/sys/arch/hppa/include/vmparam.h
index de0bfea035b..364947ba5df 100644
--- a/sys/arch/hppa/include/vmparam.h
+++ b/sys/arch/hppa/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.42 2014/01/30 18:16:41 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.43 2014/05/31 20:11:11 miod Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -56,7 +56,7 @@
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ (128*1024*1024UL) /* max stack size */
+#define MAXSSIZ (32*1024*1024UL) /* max stack size */
#endif
#define STACKGAP_RANDOM 256*1024
diff --git a/sys/arch/hppa64/include/vmparam.h b/sys/arch/hppa64/include/vmparam.h
index c8fcd21d183..76b125f58cf 100644
--- a/sys/arch/hppa64/include/vmparam.h
+++ b/sys/arch/hppa64/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.10 2014/01/30 18:16:41 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.11 2014/05/31 20:11:11 miod Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -56,7 +56,7 @@
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ (128*1024*1024UL) /* max stack size */
+#define MAXSSIZ (32*1024*1024UL) /* max stack size */
#endif
#define STACKGAP_RANDOM 256*1024
diff --git a/sys/arch/m88k/include/vmparam.h b/sys/arch/m88k/include/vmparam.h
index c788d1e6783..5e35ca17433 100644
--- a/sys/arch/m88k/include/vmparam.h
+++ b/sys/arch/m88k/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.15 2014/03/18 22:36:34 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.16 2014/05/31 20:11:11 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1992 Carnegie Mellon University
@@ -59,7 +59,7 @@
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ (128*1024*1024) /* max stack size */
+#define MAXSSIZ (32*1024*1024) /* max stack size */
#endif
#define STACKGAP_RANDOM 256*1024
diff --git a/sys/arch/sparc/include/vmparam.h b/sys/arch/sparc/include/vmparam.h
index 827a355a537..57948a0c08f 100644
--- a/sys/arch/sparc/include/vmparam.h
+++ b/sys/arch/sparc/include/vmparam.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmparam.h,v 1.41 2014/01/30 18:16:41 miod Exp $ */
+/* $OpenBSD: vmparam.h,v 1.42 2014/05/31 20:11:11 miod Exp $ */
/* $NetBSD: vmparam.h,v 1.13 1997/07/12 16:20:03 perry Exp $ */
/*
@@ -74,7 +74,7 @@
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ (128*1024*1024) /* max stack size */
+#define MAXSSIZ (32*1024*1024) /* max stack size */
#endif
#define STACKGAP_RANDOM 64*1024