From owner-cvs-all@FreeBSD.ORG Thu May 22 18:12:17 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD18237B401; Thu, 22 May 2003 18:12:17 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B80343F75; Thu, 22 May 2003 18:12:17 -0700 (PDT) (envelope-from grog@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4N1CH0U093185; Thu, 22 May 2003 18:12:17 -0700 (PDT) (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4N1CHbh093184; Thu, 22 May 2003 18:12:17 -0700 (PDT) Message-Id: <200305230112.h4N1CHbh093184@repoman.freebsd.org> From: Greg Lehey Date: Thu, 22 May 2003 18:12:17 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/vinum vinum.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 01:12:18 -0000 grog 2003/05/22 18:12:17 PDT FreeBSD src repository Modified files: sys/dev/vinum vinum.c Log: Change the way the plex lock mutexes work. Previously they were part of the struct plex, which tore apart the mutex linked lists when the plex table was expanded. Now we maintain a pool of mutexes (currently 32) to be shared by all plexes. This is still a lot better than the splhigh() method used in other architectures. Approved by: re (jhb) Revision Changes Path 1.59 +26 -3 src/sys/dev/vinum/vinum.c