Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Move pnbuf_cache into vfs_init.c, where it belongs.
details: https://anonhg.NetBSD.org/src/rev/3b482c72e580
branches: trunk
changeset: 449910:3b482c72e580
user: maxv <maxv%NetBSD.org@localhost>
date: Thu Mar 28 18:12:24 2019 +0000
description:
Move pnbuf_cache into vfs_init.c, where it belongs.
diffstat:
sys/kern/subr_pool.c | 6 ++----
sys/kern/vfs_init.c | 6 ++++--
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r 8ea58265c451 -r 3b482c72e580 sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c Thu Mar 28 15:45:23 2019 +0000
+++ b/sys/kern/subr_pool.c Thu Mar 28 18:12:24 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_pool.c,v 1.245 2019/03/27 18:27:46 maxv Exp $ */
+/* $NetBSD: subr_pool.c,v 1.246 2019/03/28 18:12:24 maxv Exp $ */
/*
* Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014, 2015, 2018
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.245 2019/03/27 18:27:46 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.246 2019/03/28 18:12:24 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -233,8 +233,6 @@
static struct pool cache_pool;
static struct pool cache_cpu_pool;
-pool_cache_t pnbuf_cache; /* pathname buffer cache */
-
/* List of all caches. */
TAILQ_HEAD(,pool_cache) pool_cache_head =
TAILQ_HEAD_INITIALIZER(pool_cache_head);
diff -r 8ea58265c451 -r 3b482c72e580 sys/kern/vfs_init.c
--- a/sys/kern/vfs_init.c Thu Mar 28 15:45:23 2019 +0000
+++ b/sys/kern/vfs_init.c Thu Mar 28 18:12:24 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_init.c,v 1.48 2015/05/06 15:57:08 hannken Exp $ */
+/* $NetBSD: vfs_init.c,v 1.49 2019/03/28 18:12:24 maxv Exp $ */
/*-
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_init.c,v 1.48 2015/05/06 15:57:08 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_init.c,v 1.49 2019/03/28 18:12:24 maxv Exp $");
#include <sys/param.h>
#include <sys/mount.h>
@@ -94,6 +94,8 @@
#define DODEBUG(A)
#endif
+pool_cache_t pnbuf_cache;
+
/*
* The global list of vnode operations.
*/
Home |
Main Index |
Thread Index |
Old Index