Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751524AbdFIEYK (ORCPT ); Fri, 9 Jun 2017 00:24:10 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:34145 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751043AbdFIEYJ (ORCPT ); Fri, 9 Jun 2017 00:24:09 -0400 Subject: Re: [PATCH v2] refcount: Create unchecked atomic_t implementation To: Davidlohr Bueso , "Reshetova, Elena" Cc: Christoph Hellwig , Kees Cook , "linux-kernel@vger.kernel.org" , Peter Zijlstra , "Eric W. Biederman" , Andrew Morton , Josh Poimboeuf , Jann Horn , Eric Biggers , Hans Liljestrand , David Windsor , Greg KH , Ingo Molnar , Alexey Dobriyan , "Serge E. Hallyn" , "arozansk@redhat.com" , "axboe@kernel.dk" , James Bottomley , "x86@kernel.org" , Ingo Molnar , Arnd Bergmann , "David S. Miller" , Rik van Riel , linux-arch References: <20170608025831.GA43608@beast> <20170608065809.GC14568@infradead.org> <2236FBA76BA1254E88B949DDB74E612B6FF0E5C7@IRSMSX102.ger.corp.intel.com> <20170608200931.GC2464@linux-80c1.suse> From: Manfred Spraul Message-ID: Date: Fri, 9 Jun 2017 06:24:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170608200931.GC2464@linux-80c1.suse> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 348 Lines: 16 Hi Davidlohr, On 06/08/2017 10:09 PM, Davidlohr Bueso wrote: > > Yes, this would be a prerequisite for ipc; which I initially thought > didn't > take a performance hit. > Did you see a regression for ipc? The fast paths don't use the refcount, it is only used for rare situations: - GETALL, SETALL for large arrays - alloc undo -- Manfred