From owner-cvs-all@FreeBSD.ORG Fri Jul 30 16:06:48 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2DE1B16A4CE; Fri, 30 Jul 2004 16:06:48 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i6UG6lNu062473; Fri, 30 Jul 2004 12:06:47 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i6UG6l3V062368; Fri, 30 Jul 2004 12:06:47 -0400 (EDT) (envelope-from green) Date: Fri, 30 Jul 2004 12:06:45 -0400 From: Brian Fundakowski Feldman To: Maxime Henrion Message-ID: <20040730160645.GB33220@green.homeunix.org> References: <200407300910.i6U9ASg5077534@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407300910.i6U9ASg5077534@repoman.freebsd.org> User-Agent: Mutt/1.5.6i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_map.c vm_map.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, 30 Jul 2004 16:06:48 -0000 On Fri, Jul 30, 2004 at 09:10:28AM +0000, Maxime Henrion wrote: > mux 2004-07-30 09:10:28 UTC > > FreeBSD src repository > > Modified files: > sys/vm vm_map.c vm_map.h > Log: > Get rid of another lockmgr(9) consumer by using sx locks for the user > maps. We always acquire the sx lock exclusively here, but we can't > use a mutex because we want to be able to sleep while holding the > lock. This is completely equivalent to what we were doing with the > lockmgr(9) locks before. Not that I don't think it's worth doing in general, but is there a comparison anyone has done between speeds of sx and lockmgr? -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\