HomeFreeBSD

Disable vm map consistency checking by default on INVARIANTS kernels.

Description

Disable vm map consistency checking by default on INVARIANTS kernels.

The checks are too expensive for a general-purpose kernel. Enable the
checks when DIAGNOSTIC is defined and provide a sysctl to enable the
checks in a non-DIAGNOSTIC INVARIANTS kernel.

Reviewed by: kib
Discussed with: Doug Moore <dougm@rice.edu>
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D19999

Details

Provenance
markjAuthored on
Reviewer
kib
Differential Revision
D19999: Move vm map consistency checking to under DIAGNOSTIC.
Parents
rS346542: Fix sys.kern.coredump_phnum_test.coredump_phnum on i386
Branches
Unknown
Tags
Unknown