From owner-cvs-src@FreeBSD.ORG Mon Mar 31 08:55:21 2008 Return-Path: Delivered-To: cvs-src@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAAC51065676; Mon, 31 Mar 2008 08:55:21 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AEE718FC1A; Mon, 31 Mar 2008 08:55:21 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from apple.my.domain (root@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2V8tDwY066041; Mon, 31 Mar 2008 08:55:18 GMT (envelope-from davidxu@freebsd.org) Message-ID: <47F0A747.80209@freebsd.org> Date: Mon, 31 Mar 2008 16:56:39 +0800 From: David Xu User-Agent: Thunderbird 2.0.0.9 (X11/20071211) MIME-Version: 1.0 To: Robert Watson References: <200803310255.m2V2toJl053104@repoman.freebsd.org> <20080331091732.V73594@fledge.watson.org> In-Reply-To: <20080331091732.V73594@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2008 08:55:22 -0000 Robert Watson wrote: > > 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 > > Do you have MFC plans for this change? It would be great to see this > hit RELENG_7 before 7.1, assuming it settles out well. > Yes, I have plan to MFC it. > Robert N M Watson > Computer Laboratory > University of Cambridge > Regards, David Xu