Author: jhb
Date: Fri Sep 11 00:06:16 2020
New Revision: 365620
URL: https://svnweb.freebsd.org/changeset/base/365620

Log:
  Disable WITNESS for spin locks by default.
  
  This matches all other architectures and removes substantial overhead.
  
  Reported by:  arichardson (indirectly)
  Reviewed by:  imp, arichardson
  Obtained from:        CheriBSD
  Sponsored by: DARPA
  Differential Revision:        https://reviews.freebsd.org/D26403

Modified:
  head/sys/riscv/conf/GENERIC

Modified: head/sys/riscv/conf/GENERIC
==============================================================================
--- head/sys/riscv/conf/GENERIC Fri Sep 11 00:04:23 2020        (r365619)
+++ head/sys/riscv/conf/GENERIC Fri Sep 11 00:06:16 2020        (r365620)
@@ -140,7 +140,7 @@ 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        WITNESS_SKIPSPIN        # Don't run witness on spinlocks for 
speed
 options        MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
 # options      EARLY_PRINTF
 options        VERBOSE_SYSINIT=0       # Support debug.verbose_sysinit, off by 
default
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to