From 226cd40e3da30c9b459363d3da47dc3f4a309bf9 Mon Sep 17 00:00:00 2001 From: dillon Date: Sat, 4 May 2002 17:10:15 +0000 Subject: Remove obsolete code (that was already #if 0'd out). Requested by: Hiten Pandya --- sys/kern/vfs_subr.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'sys') 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(). -- cgit v1.1