Make the pmap stats writeable. It can be useful to clear them.
This commit is contained in:
parent
e48fff82ef
commit
c81c0cf196
@ -117,7 +117,7 @@ SYSCTL_DECL(_debug_pmap_stats);
|
|||||||
|
|
||||||
#define PMAP_STATS_VAR(name) \
|
#define PMAP_STATS_VAR(name) \
|
||||||
static long name; \
|
static long name; \
|
||||||
SYSCTL_LONG(_debug_pmap_stats, OID_AUTO, name, CTLFLAG_RD, \
|
SYSCTL_LONG(_debug_pmap_stats, OID_AUTO, name, CTLFLAG_RW, \
|
||||||
&name, 0, "")
|
&name, 0, "")
|
||||||
|
|
||||||
#define PMAP_STATS_INC(var) \
|
#define PMAP_STATS_INC(var) \
|
||||||
|
Loading…
Reference in New Issue
Block a user