From owner-svn-src-stable@FreeBSD.ORG Mon Mar 23 20:23:28 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF80B1065678; Mon, 23 Mar 2009 20:23:28 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id ACEE78FC08; Mon, 23 Mar 2009 20:23:28 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n2NKNSBk020671; Mon, 23 Mar 2009 20:23:28 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n2NKNSlf020670; Mon, 23 Mar 2009 20:23:28 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200903232023.n2NKNSlf020670@svn.freebsd.org> From: John Baldwin Date: Mon, 23 Mar 2009 20:23:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r190332 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 20:23:29 -0000 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():