Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751856AbdGGJ34 (ORCPT ); Fri, 7 Jul 2017 05:29:56 -0400 Received: from merlin.infradead.org ([205.233.59.134]:46874 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbdGGJ3y (ORCPT ); Fri, 7 Jul 2017 05:29:54 -0400 Date: Fri, 7 Jul 2017 11:29:42 +0200 From: Peter Zijlstra To: Elena Reshetova Cc: linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, linux-audit@redhat.com, linux-fsdevel@vger.kernel.org, gregkh@linuxfoundation.org, viro@zeniv.linux.org.uk, tj@kernel.org, mingo@redhat.com, hannes@cmpxchg.org, lizefan@huawei.com, acme@kernel.org, alexander.shishkin@linux.intel.com, eparis@redhat.com, akpm@linux-foundation.org, arnd@arndb.de, luto@kernel.org, keescook@chromium.org, Hans Liljestrand , David Windsor Subject: Re: [PATCH 13/15] kernel: convert numa_group.refcount from atomic_t to refcount_t Message-ID: <20170707092942.r2juhqprjo4petib@hirez.programming.kicks-ass.net> References: <1499418269-3686-1-git-send-email-elena.reshetova@intel.com> <1499418269-3686-14-git-send-email-elena.reshetova@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1499418269-3686-14-git-send-email-elena.reshetova@intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 21 On Fri, Jul 07, 2017 at 12:04:27PM +0300, Elena Reshetova wrote: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > situations. > > Signed-off-by: Elena Reshetova > Signed-off-by: Hans Liljestrand > Signed-off-by: Kees Cook > Signed-off-by: David Windsor Invalid SoB.. > Subject: [PATCH 13/15] kernel: convert numa_group.refcount from atomic_t to refcount_t > --- > kernel/sched/fair.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Invalid Subject prefix too, scheduler patches get to have "sched:"