diff options
author | phk <phk@FreeBSD.org> | 1996-05-11 20:43:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-11 20:43:23 +0000 |
commit | a27724a359511f0eebe7d25c63ebdd40739ab4f6 (patch) | |
tree | 15bb77465ac8cfa20a1721a1e8ffd973712c6b9b /sys/kern | |
parent | 453e44c0833d7a3be4bbcdbc90699a04ae5e215e (diff) | |
download | FreeBSD-src-a27724a359511f0eebe7d25c63ebdd40739ab4f6.zip FreeBSD-src-a27724a359511f0eebe7d25c63ebdd40739ab4f6.tar.gz |
Nail down NCL_INIT = 1, and put a comment there telling what it is.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index f742628..3df976c 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94 - * $Id: uipc_mbuf.c,v 1.20 1996/05/08 19:38:14 wollman Exp $ + * $Id: uipc_mbuf.c,v 1.21 1996/05/10 19:28:48 wollman Exp $ */ #include <sys/param.h> @@ -65,6 +65,9 @@ int max_datalen; static void m_reclaim __P((void)); +/* "number of clusters of pages" */ +#define NCL_INIT 1 + /* ARGSUSED*/ static void mbinit(dummy) @@ -72,13 +75,6 @@ mbinit(dummy) { int s; -#define NMB_INIT 16 -#if MCLBYTES < 4096 -#define NCL_INIT (4096/MCLBYTES) -#else -#define NCL_INIT 1 -#endif - mmbfree = NULL; mclfree = NULL; s = splimp(); if (m_mballoc(NMB_INIT, M_DONTWAIT) == 0) |