diff options
Diffstat (limited to 'sys/kern/subr_param.c')
| -rw-r--r-- | sys/kern/subr_param.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index 42b124d751b7..a7841e45f192 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -96,3 +96,11 @@ int nswbuf = 0; * (if they've been externed everywhere else; hah!). */ struct buf *swbuf; + +/* + * Total number of shared mutexes to protect all lockmgr locks. + */ +#ifndef LOCKMUTEX +#define LOCKMUTEX 10 +#endif +int lock_nmtx = LOCKMUTEX; |
