summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2002-05-04 17:10:15 +0000
committerdillon <dillon@FreeBSD.org>2002-05-04 17:10:15 +0000
commit226cd40e3da30c9b459363d3da47dc3f4a309bf9 (patch)
tree8d7929f98d47dc48c2514b5382c58f18987fdbc0 /sys/kern
parent9b62981e972957a49d7b2289f87be21ad32b0803 (diff)
downloadFreeBSD-src-226cd40e3da30c9b459363d3da47dc3f4a309bf9.zip
FreeBSD-src-226cd40e3da30c9b459363d3da47dc3f4a309bf9.tar.gz
Remove obsolete code (that was already #if 0'd out).
Requested by: Hiten Pandya <hitmaster2k@yahoo.com>
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_subr.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index a48b138..c7d5c54 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -114,24 +114,6 @@ SYSCTL_LONG(_debug, OID_AUTO, wantfreevnodes, CTLFLAG_RW, &wantfreevnodes, 0, ""
static u_long freevnodes;
SYSCTL_LONG(_debug, OID_AUTO, freevnodes, CTLFLAG_RD, &freevnodes, 0, "");
-#if 0
-/* Number of vnode allocation. */
-static u_long vnodeallocs;
-SYSCTL_LONG(_debug, OID_AUTO, vnodeallocs, CTLFLAG_RD, &vnodeallocs, 0, "");
-/* Period of vnode recycle from namecache in vnode allocation times. */
-static u_long vnoderecycleperiod = 1000;
-SYSCTL_LONG(_debug, OID_AUTO, vnoderecycleperiod, CTLFLAG_RW, &vnoderecycleperiod, 0, "");
-/* Minimum number of total vnodes required to invoke vnode recycle from namecache. */
-static u_long vnoderecyclemintotalvn = 2000;
-SYSCTL_LONG(_debug, OID_AUTO, vnoderecyclemintotalvn, CTLFLAG_RW, &vnoderecyclemintotalvn, 0, "");
-/* Minimum number of free vnodes required to invoke vnode recycle from namecache. */
-static u_long vnoderecycleminfreevn = 2000;
-SYSCTL_LONG(_debug, OID_AUTO, vnoderecycleminfreevn, CTLFLAG_RW, &vnoderecycleminfreevn, 0, "");
-/* Number of vnodes attempted to recycle at a time. */
-static u_long vnoderecyclenumber = 3000;
-SYSCTL_LONG(_debug, OID_AUTO, vnoderecyclenumber, CTLFLAG_RW, &vnoderecyclenumber, 0, "");
-#endif
-
/*
* Various variables used for debugging the new implementation of
* reassignbuf().
OpenPOWER on IntegriCloud