svn commit: r270185 - stable/10/sys/kern

Peter Grehan grehan at FreeBSD.org
Tue Aug 19 23:08:47 UTC 2014


Author: grehan
Date: Tue Aug 19 23:08:47 2014
New Revision: 270185
URL: http://svnweb.freebsd.org/changeset/base/270185

Log:
  MFC r265098
  
  Bump WITNESS_PENDLIST by MAXCPU to account for the
  pmap pvlist locks which are scaled by MAXCPU.

Modified:
  stable/10/sys/kern/subr_witness.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/subr_witness.c
==============================================================================
--- stable/10/sys/kern/subr_witness.c	Tue Aug 19 21:31:32 2014	(r270184)
+++ stable/10/sys/kern/subr_witness.c	Tue Aug 19 23:08:47 2014	(r270185)
@@ -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	1024
+#define	WITNESS_PENDLIST	(1024 + MAXCPU)
 
 /* Allocate 256 KB of stack data space */
 #define	WITNESS_LO_DATA_COUNT	2048


More information about the svn-src-stable-10 mailing list