Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 5 Oct 2016 08:37:13 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: "Reshetova, Elena" <elena.reshetova@...el.com>,
 Kees Cook <keescook@...omium.org>, David Windsor <dwindsor@...il.com>
Cc: "kernel-hardening@...ts.openwall.com"
 <kernel-hardening@...ts.openwall.com>, Hans Liljestrand <ishkamiel@...il.com>
Subject: Re: [RFC PATCH 01/13] Add architecture independent hardened atomic
 base

On 10/04/2016 12:05 AM, Reshetova, Elena wrote:
>> >This could also be the basis for Dave Hanson's suggestion to use
>> >cmpchxg: would the expense of that instead of locked addl get noticed, etc?
> Do you mean cmpxchg? Dave, I could not find your suggestion, which mail thread was it?

Using cmpxchg() is implied if we use atomic_add_unless().  So it was a
part of my suggestion to use atomic_add_unless().

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.