From: Christoph Hellwig Subject: Re: [RFC,PATCH 14/35] svc: Change sk_inuse to a kref Date: Wed, 3 Oct 2007 15:52:38 +0100 Message-ID: <20071003145238.GA30564@infradead.org> References: <20071001191426.3250.15371.stgit@dell3.ogc.int> <20071001192801.3250.49751.stgit@dell3.ogc.int> <20071003111210.GA19381@infradead.org> <20071003144517.GA10001@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: Christoph Hellwig , neilb@suse.de, nfs@lists.sourceforge.net, gnb@sgi.com To: "J. Bruce Fields" Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1Id5ab-00089q-5O for nfs@lists.sourceforge.net; Wed, 03 Oct 2007 07:52:41 -0700 Received: from pentafluge.infradead.org ([213.146.154.40]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Id5ae-0008Bq-2r for nfs@lists.sourceforge.net; Wed, 03 Oct 2007 07:52:46 -0700 In-Reply-To: <20071003144517.GA10001@fieldses.org> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Wed, Oct 03, 2007 at 10:45:17AM -0400, J. Bruce Fields wrote: > On Wed, Oct 03, 2007 at 12:12:10PM +0100, Christoph Hellwig wrote: > > On Mon, Oct 01, 2007 at 02:28:01PM -0500, Tom Tucker wrote: > > > > > > Change the atomic_t reference count to a kref and move it to the > > > transport indepenent svc_xprt structure. Change the reference count > > > wrapper names to be generic. > > > > Why? krefs are a complete pain in the ass, and it's hard to avoid > > various races with them. > > So kref's are deprecated now? What's the deal? Is there a pointer to > discussion somewhere? The people that have introduced them as still playing fanboys for them, but that doesn't make them any better idea. I don't think they've every been encouraged by lots of people. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs