Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 11 Nov 2016 15:39:05 +0100 (CET)
From: Thomas Gleixner <>
To: Peter Zijlstra <>
cc: Mark Rutland <>,, 
    Kees Cook <>, Greg KH <>, 
    Will Deacon <>, 
    Elena Reshetova <>, Arnd Bergmann <>, 
    Ingo Molnar <>, "H. Peter Anvin" <>, 
    LKML <>
Subject: Re: Re: [RFC v4 PATCH 00/13] HARDENED_ATOMIC

On Fri, 11 Nov 2016, Peter Zijlstra wrote:
> A wee bit like so...
> +
> +static inline bool refcount_sub_and_test(int i, refcount_t *r)

Why would we want to expose that at all? refcount_inc() and
refcount_dec_and_test() is what is required for refcounting.

I know there are a few users of kref_sub() in tree, but that's all
undocumented voodoo, which should not be proliferated.



Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.