diff options
author | obrien <obrien@FreeBSD.org> | 2001-06-01 09:51:14 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-06-01 09:51:14 +0000 |
commit | 538a64fd6b278358acfa4573bfb607fb26100b35 (patch) | |
tree | de07c25560cbb107d4ebe3539548a69d389f7456 /sys/kern/uipc_mbuf.c | |
parent | e737f3aa3b5bba6b224879bce4faaae65ff25d55 (diff) | |
download | FreeBSD-src-538a64fd6b278358acfa4573bfb607fb26100b35.zip FreeBSD-src-538a64fd6b278358acfa4573bfb607fb26100b35.tar.gz |
Back out jesper's 2001/05/31 14:58:11 PDT commit. It does not compile.
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index 61067a4..1cabff7 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -34,6 +34,7 @@ * $FreeBSD$ */ +#include "opt_param.h" #include <sys/param.h> #include <sys/systm.h> #include <sys/condvar.h> @@ -98,6 +99,10 @@ SYSCTL_INT(_kern_ipc, OID_AUTO, nmbufs, CTLFLAG_RD, &nmbufs, 0, SYSCTL_INT(_kern_ipc, OID_AUTO, nmbcnt, CTLFLAG_RD, &nmbcnt, 0, "Maximum number of ext_buf counters available"); +#ifndef NMBCLUSTERS +#define NMBCLUSTERS (512 + MAXUSERS * 16) +#endif + TUNABLE_INT_DECL("kern.ipc.nmbclusters", NMBCLUSTERS, nmbclusters); TUNABLE_INT_DECL("kern.ipc.nmbufs", NMBCLUSTERS * 4, nmbufs); TUNABLE_INT_DECL("kern.ipc.nmbcnt", EXT_COUNTERS, nmbcnt); |