From owner-freebsd-smp@FreeBSD.ORG Sat Mar 31 00:18:22 2007 Return-Path: X-Original-To: freebsd-smp@freebsd.org Delivered-To: freebsd-smp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1F1016A403 for ; Sat, 31 Mar 2007 00:18:22 +0000 (UTC) (envelope-from rdboggs@ec.rr.com) Received: from ms-smtp-02.southeast.rr.com (ms-smtp-02.southeast.rr.com [24.25.9.101]) by mx1.freebsd.org (Postfix) with ESMTP id 97CE713C44C for ; Sat, 31 Mar 2007 00:18:22 +0000 (UTC) (envelope-from rdboggs@ec.rr.com) Received: from [65.184.47.206] (cpe-065-184-047-206.ec.res.rr.com [65.184.47.206]) by ms-smtp-02.southeast.rr.com (8.13.6/8.13.6) with ESMTP id l2UNVL0a014083 for ; Fri, 30 Mar 2007 19:31:22 -0400 (EDT) Message-ID: <460D9DBA.40100@ec.rr.com> Date: Fri, 30 Mar 2007 19:31:06 -0400 From: Roger User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-smp@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: Welcome to Chase Online X-BeenThere: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 00:18:23 -0000 From owner-freebsd-smp@FreeBSD.ORG Sat Mar 31 23:46:03 2007 Return-Path: X-Original-To: smp@FreeBSD.org Delivered-To: freebsd-smp@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4F5616A403; Sat, 31 Mar 2007 23:46:03 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 908E013C484; Sat, 31 Mar 2007 23:46:03 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 6F89D1A4DAC; Sat, 31 Mar 2007 16:46:03 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B9697515BC; Sat, 31 Mar 2007 19:46:02 -0400 (EDT) Date: Sat, 31 Mar 2007 19:46:02 -0400 From: Kris Kennaway To: John Baldwin Message-ID: <20070331234602.GB77982@xor.obsecurity.org> References: <200703312323.l2VNNgPb006391@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <200703312323.l2VNNgPb006391@repoman.freebsd.org> User-Agent: Mutt/1.4.2.2i Cc: smp@FreeBSD.org, current@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: freebsd-smp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD SMP implementation group List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 23:46:03 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable eOn Sat, Mar 31, 2007 at 11:23:42PM +0000, John Baldwin wrote: > jhb 2007-03-31 23:23:42 UTC >=20 > FreeBSD src repository >=20 > Modified files: > share/man/man9 Makefile sx.9=20 > sys/conf NOTES options=20 > sys/dev/acpica acpi_ec.c=20 > sys/dev/mxge if_mxge.c=20 > sys/dev/usb if_aue.c if_axe.c=20 > sys/gnu/fs/xfs/FreeBSD/support mrlock.c mrlock.h=20 > sys/i386/acpica acpi_machdep.c=20 > sys/kern kern_sx.c=20 > sys/netinet6 in6_src.c=20 > sys/sys sleepqueue.h sx.h=20 > Added files: > sys/sys _sx.h=20 > 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 pa= tch > also adds support for exclusive locks using the same algorithm as mutex= es. Thanks to Attilio for doing this work and to John for committing it. This is a significant step forward for 7.0 and will be the basis for some major performance optimizations to be committed in the near future (e.g. filedesc locking from rwatson, which gives even better mysql performance than the "tophalf" mutexes Jeff and I recently benchmarked). Kris --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGDvK6Wry0BWjoQKURAnsqAJ9TWPTb7EZP/OYHtF4om3oh+3RNPgCgoPlB a9jLMmS4wE0THGYG/i7vyMM= =8fSS -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--