summaryrefslogtreecommitdiff
path: root/sys/arch/arm/include
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2016-09-03 14:25:28 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2016-09-03 14:25:28 +0000
commit370eb237215cb13bc1125ff54689720ce018e098 (patch)
treee7abfb850f7773d53f38d571eaf5d8d8369ae2dc /sys/arch/arm/include
parenta70783600a28e32438b87802494d59ad22051fab (diff)
Increase the number of mbufs on most architectures. This is based
on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r--sys/arch/arm/include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/include/param.h b/sys/arch/arm/include/param.h
index de0e3864fa3..d61eaf6a9ac 100644
--- a/sys/arch/arm/include/param.h
+++ b/sys/arch/arm/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.22 2016/08/20 19:31:01 kettenis Exp $ */
+/* $OpenBSD: param.h,v 1.23 2016/09/03 14:25:27 bluhm Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@@ -55,7 +55,7 @@
#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */
#define USPACE_ALIGN 0 /* u-area alignment 0-none */
-#define NMBCLUSTERS 4096 /* map size, max cluster allocation */
+#define NMBCLUSTERS (16 * 1024) /* max cluster allocation */
/*
* Maximum size of the kernel malloc arena in PAGE_SIZE-sized