Date: Mon, 31 Mar 2008 15:04:41 -1000 (HST) From: Jeff Roberson <jroberson@chesapeake.net> To: David Xu <davidxu@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c Message-ID: <20080331150346.R72156@desktop> In-Reply-To: <200803310255.m2V2toJl053104@repoman.freebsd.org> References: <200803310255.m2V2toJl053104@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Mar 2008, David Xu wrote: > davidxu 2008-03-31 02:55:50 UTC > > FreeBSD src repository > > Modified files: > lib/libthr/thread thr_cond.c thr_private.h thr_rwlock.c > Log: > Rewrite rwlock to user atomic operations to change rwlock state, this > eliminates internal mutex lock contention when most rwlock operations > are read. > > Orignal patch provided by: jeff Thanks David! Do you still plan to do kernel side support so we can totally eliminate the pthread mutex and condvars from rwlock? I have evidence that this would produce further improvements. Jeff > > Revision Changes Path > 1.24 +53 -0 src/lib/libthr/thread/thr_cond.c > 1.86 +5 -1 src/lib/libthr/thread/thr_private.h > 1.11 +222 -139 src/lib/libthr/thread/thr_rwlock.c >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080331150346.R72156>