From owner-svn-src-all@FreeBSD.ORG Thu May 24 05:30:18 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 26C2F106566B; Thu, 24 May 2012 05:30:18 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 109738FC16; Thu, 24 May 2012 05:30:18 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q4O5UHB6017999; Thu, 24 May 2012 05:30:17 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q4O5UHGn017992; Thu, 24 May 2012 05:30:17 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <201205240530.q4O5UHGn017992@svn.freebsd.org> From: Alan Cox Date: Thu, 24 May 2012 05:30:17 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r235885 - in stable/8/sys: amd64/amd64 amd64/conf conf i386/conf i386/i386 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 May 2012 05:30:18 -0000 Author: alc Date: Thu May 24 05:30:17 2012 New Revision: 235885 URL: http://svn.freebsd.org/changeset/base/235885 Log: MFC r233433 Disable detailed PV entry accounting by default. Add a config option to enable it. Modified: stable/8/sys/amd64/amd64/pmap.c stable/8/sys/amd64/conf/NOTES stable/8/sys/conf/options.amd64 stable/8/sys/conf/options.i386 stable/8/sys/i386/conf/NOTES stable/8/sys/i386/i386/pmap.c Directory Properties: stable/8/sys/ (props changed) Modified: stable/8/sys/amd64/amd64/pmap.c ============================================================================== --- stable/8/sys/amd64/amd64/pmap.c Thu May 24 05:11:21 2012 (r235884) +++ stable/8/sys/amd64/amd64/pmap.c Thu May 24 05:30:17 2012 (r235885) @@ -152,7 +152,6 @@ __FBSDID("$FreeBSD$"); #define PMAP_INLINE #endif -#define PV_STATS #ifdef PV_STATS #define PV_STAT(x) do { x ; } while (0) #else Modified: stable/8/sys/amd64/conf/NOTES ============================================================================== --- stable/8/sys/amd64/conf/NOTES Thu May 24 05:11:21 2012 (r235884) +++ stable/8/sys/amd64/conf/NOTES Thu May 24 05:30:17 2012 (r235885) @@ -557,6 +557,10 @@ options LINSYSFS options KSTACK_PAGES=5 +# Enable detailed accounting by the PV entry allocator. + +options PV_STATS + ##################################################################### # More undocumented options for linting. Modified: stable/8/sys/conf/options.amd64 ============================================================================== --- stable/8/sys/conf/options.amd64 Thu May 24 05:11:21 2012 (r235884) +++ stable/8/sys/conf/options.amd64 Thu May 24 05:30:17 2012 (r235885) @@ -8,6 +8,7 @@ PERFMON MPTABLE_FORCE_HTT MP_WATCHDOG NKPT opt_pmap.h +PV_STATS opt_pmap.h # Options for emulators. These should only be used at config time, so # they are handled like options for static filesystems Modified: stable/8/sys/conf/options.i386 ============================================================================== --- stable/8/sys/conf/options.i386 Thu May 24 05:11:21 2012 (r235884) +++ stable/8/sys/conf/options.i386 Thu May 24 05:30:17 2012 (r235885) @@ -16,6 +16,7 @@ NKPT opt_pmap.h PERFMON PMAP_SHPGPERPROC opt_pmap.h POWERFAIL_NMI opt_trap.h +PV_STATS opt_pmap.h # Options for emulators. These should only be used at config time, so # they are handled like options for static filesystems Modified: stable/8/sys/i386/conf/NOTES ============================================================================== --- stable/8/sys/i386/conf/NOTES Thu May 24 05:11:21 2012 (r235884) +++ stable/8/sys/i386/conf/NOTES Thu May 24 05:30:17 2012 (r235885) @@ -986,6 +986,10 @@ device lindev options KSTACK_PAGES=3 +# Enable detailed accounting by the PV entry allocator. + +options PV_STATS + ##################################################################### # More undocumented options for linting. Modified: stable/8/sys/i386/i386/pmap.c ============================================================================== --- stable/8/sys/i386/i386/pmap.c Thu May 24 05:11:21 2012 (r235884) +++ stable/8/sys/i386/i386/pmap.c Thu May 24 05:30:17 2012 (r235885) @@ -166,7 +166,6 @@ __FBSDID("$FreeBSD$"); #define PMAP_INLINE #endif -#define PV_STATS #ifdef PV_STATS #define PV_STAT(x) do { x ; } while (0) #else