Re: sx locks rewriting - needs testers

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Mon, 20 Nov 2006 23:45:32 +0100
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!

Received on Mon Nov 20 2006 - 21:45:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC