Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Use the nmbclusters variable and not the NMBCLUSTER...



details:   https://anonhg.NetBSD.org/src/rev/4376a9b666eb
branches:  trunk
changeset: 472207:4376a9b666eb
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Apr 25 03:03:03 1999 +0000

description:
Use the nmbclusters variable and not the NMBCLUSTERS constant when setting
the mclpool hardlimit.

diffstat:

 sys/kern/uipc_mbuf.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 231a7e6e3097 -r 4376a9b666eb sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c      Sun Apr 25 03:02:05 1999 +0000
+++ b/sys/kern/uipc_mbuf.c      Sun Apr 25 03:03:03 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_mbuf.c,v 1.40 1999/04/01 00:23:25 thorpej Exp $   */
+/*     $NetBSD: uipc_mbuf.c,v 1.41 1999/04/25 03:03:03 simonb Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1988, 1991, 1993
@@ -85,7 +85,7 @@
         * mbuf clusters the kernel is to support.  Log the limit
         * reached message max once a minute.
         */
-       pool_sethardlimit(&mclpool, NMBCLUSTERS,
+       pool_sethardlimit(&mclpool, nmbclusters,
            "WARNING: mclpool limit reached; increase NMBCLUSTERS", 60);
        
        /*



Home | Main Index | Thread Index | Old Index