summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-03-24 19:43:49 +0000
committeralc <alc@FreeBSD.org>2012-03-24 19:43:49 +0000
commitee76f4b5b22779c8a130b4ea56647184c6224d2f (patch)
treed1ddfad3efac71bfc597227704b79246c6948011 /sys/i386
parenta3eef43dfb037e531a07691894933a20c769ee56 (diff)
downloadFreeBSD-src-ee76f4b5b22779c8a130b4ea56647184c6224d2f.zip
FreeBSD-src-ee76f4b5b22779c8a130b4ea56647184c6224d2f.tar.gz
Disable detailed PV entry accounting by default. Add a config option
to enable it. MFC after: 1 week
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/conf/NOTES4
-rw-r--r--sys/i386/i386/pmap.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 93a35d3..e15e135 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -976,6 +976,10 @@ device lindev
options KSTACK_PAGES=3
+# Enable detailed accounting by the PV entry allocator.
+
+options PV_STATS
+
#####################################################################
# More undocumented options for linting.
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index dee48a1..89e7a2f 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -172,7 +172,6 @@ __FBSDID("$FreeBSD$");
#define PMAP_INLINE
#endif
-#define PV_STATS
#ifdef PV_STATS
#define PV_STAT(x) do { x ; } while (0)
#else
OpenPOWER on IntegriCloud