lkml.org 
[lkml]   [2017]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 00/15] v5 kernel core pieces refcount conversions
On Thu, Aug 31, 2017 at 04:48:00PM -0700, Kees Cook wrote:
> On Wed, Aug 30, 2017 at 5:22 AM, Elena Reshetova
> <elena.reshetova@intel.com> 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 <keescook@chromium.org>
>
> 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.

\
 
 \ /
  Last update: 2017-09-01 11:48    [W:0.132 / U:0.768 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site