aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2006-08-21 06:27:28 +0000
committerAlan Cox <alc@FreeBSD.org>2006-08-21 06:27:28 +0000
commitb276ae6f6a2b15b026b6a1ee227f9b42592ff71d (patch)
treee6ee6518387bbef3e797b3186cf12c25148a9680 /sys
parent7c5169efdd359f94bed217c1b2ae3022780d59f2 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/sysctl.h2
-rw-r--r--sys/vm/vm_object.c1
-rw-r--r--sys/vm/vm_pageq.c1
-rw-r--r--sys/vm/vm_zeroidle.c2
4 files changed, 2 insertions, 4 deletions
diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h
index da17fdd7f815..f544d7dc3add 100644
--- a/sys/sys/sysctl.h
+++ b/sys/sys/sysctl.h
@@ -616,6 +616,8 @@ SYSCTL_DECL(_kern);
SYSCTL_DECL(_kern_ipc);
SYSCTL_DECL(_sysctl);
SYSCTL_DECL(_vm);
+SYSCTL_DECL(_vm_stats);
+SYSCTL_DECL(_vm_stats_misc);
SYSCTL_DECL(_vfs);
SYSCTL_DECL(_net);
SYSCTL_DECL(_debug);
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index cef7b6a2c0e0..b0d219fa94fd 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -144,7 +144,6 @@ struct mtx vm_object_list_mtx; /* lock for object list and count */
struct vm_object kernel_object_store;
struct vm_object kmem_object_store;
-SYSCTL_DECL(_vm_stats);
SYSCTL_NODE(_vm_stats, OID_AUTO, object, CTLFLAG_RD, 0, "VM object stats");
static long object_collapses;
diff --git a/sys/vm/vm_pageq.c b/sys/vm/vm_pageq.c
index 2fd7060a266f..69e9bc4ba579 100644
--- a/sys/vm/vm_pageq.c
+++ b/sys/vm/vm_pageq.c
@@ -59,7 +59,6 @@ struct pq_coloring page_queue_coloring;
static int pq_cachesize = 0; /* size of the cache in KB */
static int pq_cachenways = 0; /* associativity of the cache */
-SYSCTL_DECL(_vm_stats);
SYSCTL_NODE(_vm_stats, OID_AUTO, pagequeue, CTLFLAG_RW, 0, "VM meter stats");
SYSCTL_INT(_vm_stats_pagequeue, OID_AUTO, page_colors, CTLFLAG_RD,
&(PQ_NUMCOLORS), 0, "Number of colors in the page queue");
diff --git a/sys/vm/vm_zeroidle.c b/sys/vm/vm_zeroidle.c
index 4f48ccc1121f..5479430fc32e 100644
--- a/sys/vm/vm_zeroidle.c
+++ b/sys/vm/vm_zeroidle.c
@@ -52,8 +52,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm.h>
#include <vm/vm_page.h>
-SYSCTL_DECL(_vm_stats_misc);
-
static int cnt_prezero;
SYSCTL_INT(_vm_stats_misc, OID_AUTO, cnt_prezero, CTLFLAG_RD,
&cnt_prezero, 0, "");