From: Christoph Hellwig Subject: Re: [RFC,PATCH 14/35] svc: Change sk_inuse to a kref Date: Wed, 3 Oct 2007 16:15:25 +0100 Message-ID: <20071003151525.GA32010@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> <20071003145238.GA30564@infradead.org> <20071003151139.GB10001@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 1Id5wa-0003Lc-7V for nfs@lists.sourceforge.net; Wed, 03 Oct 2007 08:15:24 -0700 Received: from pentafluge.infradead.org ([213.146.154.40]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Id5we-00053Y-W5 for nfs@lists.sourceforge.net; Wed, 03 Oct 2007 08:15:29 -0700 In-Reply-To: <20071003151139.GB10001@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 11:11:39AM -0400, J. Bruce Fields wrote: > OK, but why are they a complete pain in the ass, and which hard-to-avoid > races are you thinking of? Is that documented somewhere? They lack a primitive equivalent to atomic_dec_and_test which is required if you need the lock to prevent it going up from zero again. There have been various lkml threads on this. ------------------------------------------------------------------------- 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