Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1038218AbdDUK5B (ORCPT ); Fri, 21 Apr 2017 06:57:01 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:33841 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1038091AbdDUK46 (ORCPT ); Fri, 21 Apr 2017 06:56:58 -0400 Date: Fri, 21 Apr 2017 03:56:54 -0700 From: Christoph Hellwig To: Eric Biggers Cc: "Reshetova, Elena" , Christoph Hellwig , "axboe@kernel.dk" , "james.bottomley@hansenpartnership.com" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "linux-scsi@vger.kernel.org" , "linux-btrfs@vger.kernel.org" , "peterz@infradead.org" , "gregkh@linuxfoundation.org" , "fujita.tomonori@lab.ntt.co.jp" , "mingo@redhat.com" , "clm@fb.com" , "jbacik@fb.com" , "dsterba@suse.com" Subject: Re: [PATCH 0/5] v2: block subsystem refcounter conversions Message-ID: <20170421105654.GC31499@infradead.org> References: <1492687644-4405-1-git-send-email-elena.reshetova@intel.com> <20170420135651.GA26595@infradead.org> <2236FBA76BA1254E88B949DDB74E612B41C8DA36@IRSMSX102.ger.corp.intel.com> <20170420183319.GB103004@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170420183319.GB103004@gmail.com> User-Agent: Mutt/1.8.0 (2017-02-23) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 545 Lines: 9 On Thu, Apr 20, 2017 at 11:33:19AM -0700, Eric Biggers wrote: > Like I suggested months ago, how about doing an efficient implementation of > refcount_t which doesn't use the bloated cmpxchg loop? Then there would be no > need for endless performance arguments. In fact, in PaX there are already > example implementations for several architectures. It's unfortunate that > they're still being ignored for some reason. Yes. I will also NAK other conversions until this is done, which is a bit sad as the recount_t API itself is very useful.