summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2014-01-20 01:59:35 +0000
committerneel <neel@FreeBSD.org>2014-01-20 01:59:35 +0000
commit16e5d67c2cf6e6ac3677727fed208205f146e32d (patch)
tree6f5d245deafa159fb69e07c898b2f5df458bc2d6
parentfa3ef88a5b1ffa91d48bdb5080d9000bbb0a29f7 (diff)
downloadFreeBSD-src-16e5d67c2cf6e6ac3677727fed208205f146e32d.zip
FreeBSD-src-16e5d67c2cf6e6ac3677727fed208205f146e32d.tar.gz
Bump up WITNESS_COUNT from 1024 to 1536 so there are sufficient entries for
WITNESS to actually work. Reviewed by: jhb@
-rw-r--r--sys/kern/subr_witness.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 9315133..d2ba7a9 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -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
OpenPOWER on IntegriCloud