sx locks rewriting - needs testers

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Nov 20 14:45:53 PST 2006


On Thu, Oct 19, 2006 at 12:18:16AM +0200, Attilio Rao wrote:
> In my P4 branch: //depot/user/attilio/attilio_smpng/...
> you can find a sx locks rewriting using the optimized semantic of
> rwlocks; in the end this might result in a valuable performance
> improvement.

I'm using sx(9) locks for Solaris mutexes and rwlocks, as I need locks
for ZFS that I can sleep while holding.
From my simple tests your locks are stable and ZFS is 10% faster. Nice
work.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20061120/fc6de031/attachment.pgp


More information about the freebsd-current mailing list