From owner-cvs-all@FreeBSD.ORG Sat Mar 31 23:51:02 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D8C516A402; Sat, 31 Mar 2007 23:51:02 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id BB72013C4B9; Sat, 31 Mar 2007 23:51:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l2VNp01R069808; Sat, 31 Mar 2007 18:51:00 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: src-committers@freebsd.org Date: Sat, 31 Mar 2007 19:27:15 -0400 User-Agent: KMail/1.9.4 References: <200703312323.l2VNNgPb006391@repoman.freebsd.org> In-Reply-To: <200703312323.l2VNNgPb006391@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703311927.16618.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Sat, 31 Mar 2007 18:51:00 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2982/Sat Mar 31 17:04:40 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.3 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: cvs-src@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/share/man/man9 Makefile sx.9 src/sys/conf NOTES options src/sys/dev/acpica acpi_ec.c src/sys/dev/mxge if_mxge.c src/sys/dev/usb if_aue.c if_axe.c src/sys/gnu/fs/xfs/FreeBSD/support mrlock.c mrlock.h ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 31 Mar 2007 23:51:02 -0000 On Saturday 31 March 2007 19:23, John Baldwin wrote: > jhb 2007-03-31 23:23:42 UTC > > FreeBSD src repository > > Modified files: > share/man/man9 Makefile sx.9 > sys/conf NOTES options > sys/dev/acpica acpi_ec.c > sys/dev/mxge if_mxge.c > sys/dev/usb if_aue.c if_axe.c > sys/gnu/fs/xfs/FreeBSD/support mrlock.c mrlock.h > sys/i386/acpica acpi_machdep.c > sys/kern kern_sx.c > sys/netinet6 in6_src.c > sys/sys sleepqueue.h sx.h > Added files: > sys/sys _sx.h > Log: > Optimize sx locks to use simple atomic operations for the common cases of > obtaining and releasing shared and exclusive locks. The algorithms for > manipulating the lock cookie are very similar to that rwlocks. This patch > also adds support for exclusive locks using the same algorithm as mutexes. Should say "recursive exclusive locks", sorry. -- John Baldwin