Make debug.vmem_check a tunable. It is useful to set it early.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
012bc22a86
commit
eeb697c8e9
@ -172,7 +172,7 @@ struct vmem_btag {
|
||||
|
||||
#if defined(DIAGNOSTIC)
|
||||
static int enable_vmem_check = 1;
|
||||
SYSCTL_INT(_debug, OID_AUTO, vmem_check, CTLFLAG_RW,
|
||||
SYSCTL_INT(_debug, OID_AUTO, vmem_check, CTLFLAG_RWTUN,
|
||||
&enable_vmem_check, 0, "Enable vmem check");
|
||||
static void vmem_check(vmem_t *);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user