Date: Sat, 31 Mar 2007 19:27:15 -0400 From: John Baldwin <jhb@freebsd.org> To: src-committers@freebsd.org 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 ... Message-ID: <200703311927.16618.jhb@freebsd.org> In-Reply-To: <200703312323.l2VNNgPb006391@repoman.freebsd.org> References: <200703312323.l2VNNgPb006391@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703311927.16618.jhb>