From owner-cvs-src@FreeBSD.ORG Mon Mar 31 08:18:03 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32971106566B; Mon, 31 Mar 2008 08:18:03 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2EE8FC1E; Mon, 31 Mar 2008 08:18:02 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 793C746B08; Mon, 31 Mar 2008 04:18:02 -0400 (EDT) Date: Mon, 31 Mar 2008 09:18:02 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: David Xu In-Reply-To: <200803310255.m2V2toJl053104@repoman.freebsd.org> Message-ID: <20080331091732.V73594@fledge.watson.org> References: <200803310255.m2V2toJl053104@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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:18:03 -0000 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. Robert N M Watson Computer Laboratory University of Cambridge