From f28600390922dfcf1ccbe51a2c560b5f6cefa961 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Tue, 13 Nov 2001 21:55:13 +0000 Subject: 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. --- sys/kern/subr_param.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sys/kern/subr_param.c') diff --git a/sys/kern/subr_param.c b/sys/kern/subr_param.c index ced6d9527465..fa37bf221d69 100644 --- a/sys/kern/subr_param.c +++ b/sys/kern/subr_param.c @@ -90,14 +90,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 */ -- cgit v1.2.3