diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-03 14:25:28 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2016-09-03 14:25:28 +0000 |
commit | 370eb237215cb13bc1125ff54689720ce018e098 (patch) | |
tree | e7abfb850f7773d53f38d571eaf5d8d8369ae2dc /sys/arch/hppa/include | |
parent | a70783600a28e32438b87802494d59ad22051fab (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/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/param.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h index 8c7d774d3f7..346b5bf7f9c 100644 --- a/sys/arch/hppa/include/param.h +++ b/sys/arch/hppa/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.45 2013/03/26 05:04:10 deraadt Exp $ */ +/* $OpenBSD: param.h,v 1.46 2016/09/03 14:25:27 bluhm Exp $ */ /* * Copyright (c) 1988-1994, The University of Utah and @@ -51,7 +51,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 (4 * 1024) /* max cluster allocation */ #ifndef MSGBUFSIZE #define MSGBUFSIZE (2 * PAGE_SIZE) /* default message buffer size */ |