Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 05:30:17 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r235885 - in stable/8/sys: amd64/amd64 amd64/conf conf i386/conf i386/i386
Message-ID:  <201205240530.q4O5UHGn017992@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205240530.q4O5UHGn017992>