summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_param.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-11-13 21:55:13 +0000
committerdillon <dillon@FreeBSD.org>2001-11-13 21:55:13 +0000
commit27124b4079618195694add375aa3bbc3a0da2055 (patch)
tree2e0aa173fe10c0c0b0afdac7a3805252a3d36c03 /sys/kern/subr_param.c
parenta8103b3515d03e0b7e0c8bb150c4986624865cb0 (diff)
downloadFreeBSD-src-27124b4079618195694add375aa3bbc3a0da2055.zip
FreeBSD-src-27124b4079618195694add375aa3bbc3a0da2055.tar.gz
Create a mutex pool API for short term leaf mutexes.
Replace the manual mutex pool in kern_lock.c (lockmgr locks) with the new API. Replace the mutexes embedded in sxlocks with the new API.
Diffstat (limited to 'sys/kern/subr_param.c')
-rw-r--r--sys/kern/subr_param.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c
index ced6d95..fa37bf2 100644
--- a/sys/kern/subr_param.c
+++ b/sys/kern/subr_param.c
@@ -91,14 +91,6 @@ u_quad_t sgrowsiz; /* amount to grow stack */
struct buf *swbuf;
/*
- * Total number of shared mutexes to protect all lockmgr locks.
- */
-#ifndef LOCKMUTEX
-#define LOCKMUTEX 10
-#endif
-int lock_nmtx = LOCKMUTEX;
-
-/*
* Boot time overrides
*/
void
OpenPOWER on IntegriCloud