Add _vm_stats and _vm_stats_misc to the sysctl declarations in sysctl.h and
eliminate their declarations from various source files.
This commit is contained in:
parent
7c5169efdd
commit
b276ae6f6a
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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");
|
||||
|
@ -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, "");
|
||||
|
Loading…
Reference in New Issue
Block a user