From owner-cvs-src@FreeBSD.ORG Thu May 22 18:15:55 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0F8C37B401; Thu, 22 May 2003 18:15:55 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E68143F3F; Thu, 22 May 2003 18:15:55 -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 h4N1Ft0U093620; Thu, 22 May 2003 18:15:55 -0700 (PDT) (envelope-from grog@repoman.freebsd.org) Received: (from grog@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4N1Ftf3093619; Thu, 22 May 2003 18:15:55 -0700 (PDT) Message-Id: <200305230115.h4N1Ftf3093619@repoman.freebsd.org> From: Greg Lehey Date: Thu, 22 May 2003 18:15:55 -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 vinumvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 May 2003 01:15:56 -0000 grog 2003/05/22 18:15:55 PDT FreeBSD src repository Modified files: sys/dev/vinum vinumvar.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. expand_table: Add parameters file and line if we're debugging. Approved by: re (jhb) Revision Changes Path 1.44 +29 -16 src/sys/dev/vinum/vinumvar.h