From owner-p4-projects@FreeBSD.ORG Wed Sep 12 22:40:21 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 748CE16A468; Wed, 12 Sep 2007 22:40:21 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51A8616A418; Wed, 12 Sep 2007 22:40:21 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id E506E13C46B; Wed, 12 Sep 2007 22:40:20 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id B457B45EAE; Thu, 13 Sep 2007 00:40:19 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 6C74A45CD9; Thu, 13 Sep 2007 00:40:15 +0200 (CEST) Date: Thu, 13 Sep 2007 00:38:55 +0200 From: Pawel Jakub Dawidek To: Kip Macy Message-ID: <20070912223855.GD4909@garage.freebsd.pl> References: <200709120832.l8C8WLlm085731@repoman.freebsd.org> <20070912150017.GA3553@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fOHHtNG4YXGJ0yqR" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: Perforce Change Reviews , Kip Macy Subject: Re: PERFORCE change 126330 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 22:40:21 -0000 --fOHHtNG4YXGJ0yqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 12, 2007 at 02:50:46PM -0700, Kip Macy wrote: > On 9/12/07, Pawel Jakub Dawidek wrote: > > On Wed, Sep 12, 2007 at 08:32:21AM +0000, Kip Macy wrote: > > > http://perforce.freebsd.org/chv.cgi?CH=3D126330 > > > > > > Change 126330 by kmacy@kmacy_home:ethng on 2007/09/12 08:31:36 > > > > > > convert radix node head and route locks from mutexes to rwlocks > > [...] > > > rt->rt_flags |=3D RTF_LLINFO; > > > - callout_init_mtx(&la->la_timer, &rt->rt_mtx, > > > - CALLOUT_RETURNUNLOCKED); > > > + callout_init_rwlock(&la->la_timer, &rt->rt_lock, > > > + CALLOUT_RETURNUNLOCKED_RW); > > > > > > > Kip, don't add callout_init_rwlock() to the tree. I've > > callout_init_lock() implemented that operates on any lock type, just > > like condvar(9). >=20 > point me to a diff This is a part of this patch: http://people.freebsd.org/~pjd/patches/proc_rwlock.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --fOHHtNG4YXGJ0yqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG6Gp/ForvXbEpPzQRAhKXAJoDEDpSRlyFTNU+F+TR0WFbMzb39QCfVaeE FQmeCWosTDYaRcvyBZ1y8Sk= =e2Bd -----END PGP SIGNATURE----- --fOHHtNG4YXGJ0yqR--