mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
vmem: disable debug.vmem_check by default
It has a prohibitive performance impact when running real workloads.
Note this only affects kernels with DIAGNOSTIC.
Reviewed by: markj
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D31784
This commit is contained in:
parent
8f8a794775
commit
6352bbf7be
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ struct vmem {
|
|||
#define BT_END(bt) ((bt)->bt_start + (bt)->bt_size - 1)
|
||||
|
||||
#if defined(DIAGNOSTIC)
|
||||
static int enable_vmem_check = 1;
|
||||
static int enable_vmem_check = 0;
|
||||
SYSCTL_INT(_debug, OID_AUTO, vmem_check, CTLFLAG_RWTUN,
|
||||
&enable_vmem_check, 0, "Enable vmem check");
|
||||
static void vmem_check(vmem_t *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue