summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-01-01 01:02:19 +0000
committermiod <miod@openbsd.org>2013-01-01 01:02:19 +0000
commitb7d3797fe8fda035cf7e08e1e9765d78eaca4284 (patch)
tree32274cd0220f19ff286b82b56416f2a5637807b2
parentRemove unused mem_size global. (diff)
downloadwireguard-openbsd-b7d3797fe8fda035cf7e08e1e9765d78eaca4284.tar.xz
wireguard-openbsd-b7d3797fe8fda035cf7e08e1e9765d78eaca4284.zip
Crank NMBCLUSTERS to 4096 to match other 32-bit platforms.
-rw-r--r--sys/arch/m68k/include/param.h4
-rw-r--r--sys/arch/m88k/include/param.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/m68k/include/param.h b/sys/arch/m68k/include/param.h
index 91253b953fe..e5c5c09c78f 100644
--- a/sys/arch/m68k/include/param.h
+++ b/sys/arch/m68k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.26 2011/09/08 03:40:32 guenther Exp $ */
+/* $OpenBSD: param.h,v 1.27 2013/01/01 01:02:19 miod Exp $ */
/* $NetBSD: param.h,v 1.2 1997/06/10 18:21:23 veego Exp $ */
/*
@@ -101,7 +101,7 @@
/*
* Constants related to network buffer management.
*/
-#define NMBCLUSTERS 1024 /* map size, max cluster allocation */
+#define NMBCLUSTERS 4096 /* map size, max cluster allocation */
/* pages ("clicks") to disk blocks */
#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT))
diff --git a/sys/arch/m88k/include/param.h b/sys/arch/m88k/include/param.h
index 88e042dd1fe..a6cc7116365 100644
--- a/sys/arch/m88k/include/param.h
+++ b/sys/arch/m88k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.14 2011/09/08 03:40:32 guenther Exp $ */
+/* $OpenBSD: param.h,v 1.15 2013/01/01 01:02:19 miod Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
* Copyright (c) 1988 University of Utah.
@@ -76,7 +76,7 @@
/*
* Constants related to network buffer management.
*/
-#define NMBCLUSTERS 2048 /* map size, max cluster allocation */
+#define NMBCLUSTERS 4096 /* map size, max cluster allocation */
/*
* Minimum and maximum sizes of the kernel malloc arena in PAGE_SIZE-sized