From owner-cvs-all@FreeBSD.ORG Thu May 22 18:15:31 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 2EE9737B407; Thu, 22 May 2003 18:15:31 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0A0D43FAF; Thu, 22 May 2003 18:15:30 -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 h4N1FU0U093578; Thu, 22 May 2003 18:15:30 -0700 (PDT) (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4N1FUtF093577; Thu, 22 May 2003 18:15:30 -0700 (PDT) Message-Id: <200305230115.h4N1FUtF093577@repoman.freebsd.org> From: Greg Lehey Date: Thu, 22 May 2003 18:15:30 -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 vinumobj.h 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:15:31 -0000 grog 2003/05/22 18:15:30 PDT FreeBSD src repository Modified files: sys/dev/vinum vinumobj.h 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. Add and clarify comments. Approved by: re (jhb) Revision Changes Path 1.9 +9 -3 src/sys/dev/vinum/vinumobj.h