Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751125AbdFTEri (ORCPT ); Tue, 20 Jun 2017 00:47:38 -0400 Received: from mail-io0-f174.google.com ([209.85.223.174]:36711 "EHLO mail-io0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750918AbdFTErY (ORCPT ); Tue, 20 Jun 2017 00:47:24 -0400 MIME-Version: 1.0 In-Reply-To: <20170608055655.GB19269@kroah.com> References: <20170608025831.GA43608@beast> <20170608055655.GB19269@kroah.com> From: Kees Cook Date: Mon, 19 Jun 2017 21:47:22 -0700 X-Google-Sender-Auth: PI1BPeib9Gqpkj85vzbo56mEaFk Message-ID: Subject: Re: [PATCH v2] refcount: Create unchecked atomic_t implementation To: Greg KH , Ingo Molnar Cc: LKML , Christoph Hellwig , Peter Zijlstra , "Eric W. Biederman" , Andrew Morton , Josh Poimboeuf , Jann Horn , Eric Biggers , Elena Reshetova , Hans Liljestrand , David Windsor , Ingo Molnar , Alexey Dobriyan , "Serge E. Hallyn" , arozansk@redhat.com, Davidlohr Bueso , Manfred Spraul , "axboe@kernel.dk" , James Bottomley , "x86@kernel.org" , Arnd Bergmann , "David S. Miller" , Rik van Riel , linux-arch Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 830 Lines: 23 On Wed, Jun 7, 2017 at 10:56 PM, Greg KH wrote: > On Wed, Jun 07, 2017 at 07:58:31PM -0700, Kees Cook wrote: >> Many subsystems will not use refcount_t unless there is a way to build the >> kernel so that there is no regression in speed compared to atomic_t. This >> adds CONFIG_REFCOUNT_FULL to enable the full refcount_t implementation >> which has the validation but is slightly slower. When not enabled, >> refcount_t uses the basic unchecked atomic_t routines, which results in >> no code changes compared to just using atomic_t directly. >> >> Signed-off-by: Kees Cook > > Acked-by: Greg Kroah-Hartman Ping. tip maintainers, can you please take this patch to unblock the refcount_t conversions? Thanks! -Kees -- Kees Cook Pixel Security