Author: neel
Date: Mon Jan 20 01:59:35 2014
New Revision: 260898
URL: http://svnweb.freebsd.org/changeset/base/260898

Log:
  Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries for
  WITNESS to actually work.
  
  Reviewed by:  jhb@

Modified:
  head/sys/kern/subr_witness.c

Modified: head/sys/kern/subr_witness.c
==============================================================================
--- head/sys/kern/subr_witness.c        Mon Jan 20 01:35:14 2014        
(r260897)
+++ head/sys/kern/subr_witness.c        Mon Jan 20 01:59:35 2014        
(r260898)
@@ -132,7 +132,7 @@ __FBSDID("$FreeBSD$");
 /* Define this to check for blessed mutexes */
 #undef BLESSING
 
-#define        WITNESS_COUNT           1024
+#define        WITNESS_COUNT           1536
 #define        WITNESS_CHILDCOUNT      (WITNESS_COUNT * 4)
 #define        WITNESS_HASH_SIZE       251     /* Prime, gives load factor < 2 
*/
 #define        WITNESS_PENDLIST        1024
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to