Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752459AbdIARJI (ORCPT ); Fri, 1 Sep 2017 13:09:08 -0400 Received: from mga07.intel.com ([134.134.136.100]:6679 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752288AbdIARJG (ORCPT ); Fri, 1 Sep 2017 13:09:06 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,459,1498546800"; d="scan'208";a="1213543582" From: "Reshetova, Elena" To: Kees Cook , Peter Zijlstra CC: Andrew Morton , LKML , "linux-fsdevel@vger.kernel.org" , Greg KH , "Al Viro" , Tejun Heo , Ingo Molnar , Johannes Weiner , Li Zefan , Arnaldo Carvalho de Melo , "Alexander Shishkin" , Eric Paris , Arnd Bergmann , Andy Lutomirski , Thomas Gleixner , "dvhart@infradead.org" , "Eric W. Biederman" Subject: RE: [PATCH 00/15] v5 kernel core pieces refcount conversions Thread-Topic: [PATCH 00/15] v5 kernel core pieces refcount conversions Thread-Index: AQHTIYq+/lw4EwEDWUiOR5P2FzQBPqKfE04AgACnygCAAHdkgIAAE+Wg Date: Fri, 1 Sep 2017 17:08:51 +0000 Message-ID: <2236FBA76BA1254E88B949DDB74E612B6FF636D0@IRSMSX102.ger.corp.intel.com> References: <1504095773-22895-1-git-send-email-elena.reshetova@intel.com> <20170901094832.inwuzxczxs4b2ehh@hirez.programming.kicks-ass.net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v81H9RiI001634 Content-Length: 1468 Lines: 41 > On Fri, Sep 1, 2017 at 2:48 AM, Peter Zijlstra wrote: > > On Thu, Aug 31, 2017 at 04:48:00PM -0700, Kees Cook wrote: > >> On Wed, Aug 30, 2017 at 5:22 AM, Elena Reshetova > >> wrote: > >> > Now we have at least x86 support for ARCH_HAS_REFCOUNT merged and > >> > arm and others on their way. > >> > > >> > Changes in v5: > >> > * Kees catched that the following changes in > >> > perf_event_context.refcount and futex_pi_state.refcount > >> > are not correct now when ARCH_HAS_REFCOUNT is enabled: > >> > - WARN_ON(!atomic_inc_not_zero(refcount)); > >> > + refcount_inc(refcount); > >> > So they are now changed back to using refcount_inc_not_zero. > >> > >> Thanks! > >> > >> Reviewed-by: Kees Cook > >> > >> Andrew, are you able to carry these patches in -mm, since they span a > >> bunch of core kernel areas? > > > > No.. these patches should go through the regular trees that maintain > > these various parts. > > Okay, sounds fine. Elena, can you split these up? (You'll probably > have to examine MAINTAINERS and/or git history for each patch...) Well, I can do this, but patches are already fully independent for cherry-pick and all maintainers should be in the CC list, so I was hoping people can pull into their trees from this series. But if people want to split, I can do a split... Best Regards, Elena. > > -Kees > > -- > Kees Cook > Pixel Security