Date: Mon, 23 Mar 2009 20:23:28 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r190332 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern Message-ID: <200903232023.n2NKNSlf020670@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Mon Mar 23 20:23:28 2009 New Revision: 190332 URL: http://svn.freebsd.org/changeset/base/190332 Log: MFC: Move the debug.hashstat sysctl tree under DIAGNOSTIC. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/kern/vfs_cache.c Modified: stable/7/sys/kern/vfs_cache.c ============================================================================== --- stable/7/sys/kern/vfs_cache.c Mon Mar 23 20:18:06 2009 (r190331) +++ stable/7/sys/kern/vfs_cache.c Mon Mar 23 20:23:28 2009 (r190332) @@ -179,6 +179,7 @@ static MALLOC_DEFINE(M_VFSCACHE, "vfscac */ #define NCF_WHITE 1 +#ifdef DIAGNOSTIC /* * Grab an atomic snapshot of the name cache hash chain lengths */ @@ -259,6 +260,7 @@ sysctl_debug_hashstat_nchash(SYSCTL_HAND SYSCTL_PROC(_debug_hashstat, OID_AUTO, nchash, CTLTYPE_INT|CTLFLAG_RD| CTLFLAG_MPSAFE, 0, 0, sysctl_debug_hashstat_nchash, "I", "nchash chain lengths"); +#endif /* * cache_zap():
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903232023.n2NKNSlf020670>