--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--