Date: Thu, 13 Sep 2007 00:38:55 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Kip Macy <kip.macy@gmail.com> Cc: Perforce Change Reviews <perforce@freebsd.org>, Kip Macy <kmacy@freebsd.org> Subject: Re: PERFORCE change 126330 for review Message-ID: <20070912223855.GD4909@garage.freebsd.pl> In-Reply-To: <b1fa29170709121450r5f59430bqa13373fdf807cadc@mail.gmail.com> References: <200709120832.l8C8WLlm085731@repoman.freebsd.org> <20070912150017.GA3553@garage.freebsd.pl> <b1fa29170709121450r5f59430bqa13373fdf807cadc@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <pjd@freebsd.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070912223855.GD4909>