Module Name:    src
Committed By:   maxv
Date:           Thu Aug  9 17:43:55 UTC 2018

Modified Files:
        src/sys/kern: uipc_mbuf.c
        src/sys/sys: mbuf.h

Log Message:
Localify mcl_cache.


To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 src/sys/kern/uipc_mbuf.c
cvs rdiff -u -r1.208 -r1.209 src/sys/sys/mbuf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/uipc_mbuf.c
diff -u src/sys/kern/uipc_mbuf.c:1.217 src/sys/kern/uipc_mbuf.c:1.218
--- src/sys/kern/uipc_mbuf.c:1.217	Wed Jul 18 07:06:40 2018
+++ src/sys/kern/uipc_mbuf.c	Thu Aug  9 17:43:55 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: uipc_mbuf.c,v 1.217 2018/07/18 07:06:40 msaitoh Exp $	*/
+/*	$NetBSD: uipc_mbuf.c,v 1.218 2018/08/09 17:43:55 maxv Exp $	*/
 
 /*
  * Copyright (c) 1999, 2001 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.217 2018/07/18 07:06:40 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,v 1.218 2018/08/09 17:43:55 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_mbuftrace.h"
@@ -89,7 +89,7 @@ __KERNEL_RCSID(0, "$NetBSD: uipc_mbuf.c,
 #include <net/if.h>
 
 pool_cache_t mb_cache;	/* mbuf cache */
-pool_cache_t mcl_cache;	/* mbuf cluster cache */
+static pool_cache_t mcl_cache;	/* mbuf cluster cache */
 
 struct mbstat mbstat;
 int max_linkhdr;

Index: src/sys/sys/mbuf.h
diff -u src/sys/sys/mbuf.h:1.208 src/sys/sys/mbuf.h:1.209
--- src/sys/sys/mbuf.h:1.208	Tue Jul 17 05:52:07 2018
+++ src/sys/sys/mbuf.h	Thu Aug  9 17:43:54 2018
@@ -1,4 +1,4 @@
-/*	$NetBSD: mbuf.h,v 1.208 2018/07/17 05:52:07 msaitoh Exp $	*/
+/*	$NetBSD: mbuf.h,v 1.209 2018/08/09 17:43:54 maxv Exp $	*/
 
 /*
  * Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
@@ -773,7 +773,6 @@ extern int max_datalen;		/* MHLEN - max_
 extern const int msize;			/* mbuf base size */
 extern const int mclbytes;		/* mbuf cluster size */
 extern pool_cache_t mb_cache;
-extern pool_cache_t mcl_cache;
 #ifdef MBUFTRACE
 LIST_HEAD(mownerhead, mowner);
 extern struct mownerhead mowners;

Reply via email to