summaryrefslogtreecommitdiff
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-10-12 22:37:28 +0000
committerJason Evans <jasone@FreeBSD.org>2000-10-12 22:37:28 +0000
commit9722d88fba2c4016b66c281a16a1be84a32af95c (patch)
tree7ce9eab3c738ff1f9586ceac1b646763bab57396 /sys/kern/subr_param.c
parent1df2031c1502b456210934bb3838bc23c64bb5d7 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c8
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;