svn commit: r210611 - head/sys/kern

Rui Paulo rpaulo at FreeBSD.org
Thu Jul 29 16:13:27 UTC 2010


Author: rpaulo
Date: Thu Jul 29 16:13:26 2010
New Revision: 210611
URL: http://svn.freebsd.org/changeset/base/210611

Log:
  Bump the witness pendlist to 768 to accomodate the increased number of
  spinlocks.

Modified:
  head/sys/kern/subr_witness.c

Modified: head/sys/kern/subr_witness.c
==============================================================================
--- head/sys/kern/subr_witness.c	Thu Jul 29 16:06:40 2010	(r210610)
+++ head/sys/kern/subr_witness.c	Thu Jul 29 16:13:26 2010	(r210611)
@@ -135,7 +135,7 @@ __FBSDID("$FreeBSD$");
 #define	WITNESS_COUNT 		1024
 #define	WITNESS_CHILDCOUNT 	(WITNESS_COUNT * 4)
 #define	WITNESS_HASH_SIZE	251	/* Prime, gives load factor < 2 */
-#define	WITNESS_PENDLIST	512
+#define	WITNESS_PENDLIST	768
 
 /* Allocate 256 KB of stack data space */
 #define	WITNESS_LO_DATA_COUNT	2048


More information about the svn-src-head mailing list