Bug 210974

Summary: 11.0-BETA1 & -STABLE -r302457: sys/powerpc/conf/GENERIC64 still has INVARIANTS, WITNESS, etc.
Product: Base System Reporter: Mark Millard <marklmi26-fbsd>
Component: confAssignee: Glen Barber <gjb>
Status: Closed FIXED    
Severity: Affects Some People    
Priority: ---    
Version: 11.0-BETA1   
Hardware: powerpc   
OS: Any   

Description Mark Millard 2016-07-10 16:58:15 UTC
11.0 -r302457's sys/powerpc/conf/GENERIC64 (for powerpc64) still has:

# For full debugger support use (turn off in stable branch):
options         DDB                     #Support DDB
#options        DEADLKRES               #Enable the deadlock resolver
options         INVARIANTS              #Enable calls of extra sanity checking
options         INVARIANT_SUPPORT       #Extra sanity checks of internal structures, required by INVARIANTS
options         WITNESS                 #Enable checks to detect deadlocks and cycles
options         WITNESS_SKIPSPIN        #Don't run witness on spinlocks for speed
options         MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
Comment 1 Glen Barber freebsd_committer freebsd_triage 2016-07-10 17:04:57 UTC
This is my fault, I've sent re@ a request for approval to correct it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-07-10 17:17:17 UTC
A commit references this bug:

Author: gjb
Date: Sun Jul 10 17:16:56 UTC 2016
New revision: 302527
URL: https://svnweb.freebsd.org/changeset/base/302527

Log:
  Turn off WITNESS, INVARIANTS, etc., in the powerpc GENERIC64
  kernel configuration, missed after the stable/11 branch.

  Approved by:	re (kib)
  PR:		210974
  Sponsored by:	The FreeBSD Foundation

Changes:
  stable/11/sys/powerpc/conf/GENERIC64