lkml.org 
[lkml]   [2019]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 00/10] Rework REFCOUNT_FULL using atomic_fetch_* operations
On Wed, Oct 30, 2019 at 11:40:56AM -0700, Kees Cook wrote:
> On Wed, Oct 30, 2019 at 02:30:25PM +0000, Will Deacon wrote:
> > Hi all,
> >
> > This is version four of the patches I previously posted here:
> >
> > v1: https://lkml.kernel.org/r/20190802101000.12958-1-will@kernel.org
> > v2: https://lkml.kernel.org/r/20190827163204.29903-1-will@kernel.org
> > v3: https://lkml.kernel.org/r/20191007154703.5574-1-will@kernel.org
> >
> > Changes since v3 include:
> >
> > - Add description of racy behaviour include/linux/refcount.h
> > - Fix saturation behaviour in refcount_sub_and_test()
> > - Added Acks and Tested-bys
>
> Thanks again for this! I think this series is in good shape; I'm glad we
> can sanely expand these protections.

Cheers, Kees.

Peter -- are you ok with this version? I think I've addressed all of your
concerns from v3, including the addition of ASCII-art to explain the
saturation behaviour (I can use .rst instead if you prefer).

Will

\
 
 \ /
  Last update: 2019-11-07 14:01    [W:0.072 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site