Make the witness lock limit an option.
This commit is contained in:
parent
8f1d4b2dd6
commit
146cbf6fa2
@ -685,6 +685,7 @@ WITNESS opt_global.h
|
||||
WITNESS_KDB opt_witness.h
|
||||
WITNESS_NO_VNODE opt_witness.h
|
||||
WITNESS_SKIPSPIN opt_witness.h
|
||||
WITNESS_COUNT opt_witness.h
|
||||
OPENSOLARIS_WITNESS opt_global.h
|
||||
|
||||
# options for ACPI support
|
||||
|
@ -132,7 +132,9 @@ __FBSDID("$FreeBSD$");
|
||||
/* Define this to check for blessed mutexes */
|
||||
#undef BLESSING
|
||||
|
||||
#ifndef WITNESS_COUNT
|
||||
#define WITNESS_COUNT 1536
|
||||
#endif
|
||||
#define WITNESS_CHILDCOUNT (WITNESS_COUNT * 4)
|
||||
#define WITNESS_HASH_SIZE 251 /* Prime, gives load factor < 2 */
|
||||
#define WITNESS_PENDLIST (1024 + MAXCPU)
|
||||
|
Loading…
x
Reference in New Issue
Block a user