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 Apr 22 2019, 11:23 AM
Parents
rG616f60e87e20: Fix sys.kern.coredump_phnum_test.coredump_phnum on i386
Branches
Unknown
Tags
Unknown

Event Timeline