lkml.org 
[lkml]   [2014]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC][PATCH 0/5] arch: atomic rework
From
On Thu, Feb 20, 2014 at 11:02 AM, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
>
> Again, the way I'd expect a compiler writer to actually *do* this is
> to just default to "ac

Oops, pressed send by mistake too early.

I was almost done:

I'd expect a compiler to just default to "acquire" semantics, but then
have a few "obvious peephole" optimizations for cases that it
encounters and where it is easy to replace the synchronization point
with just an address dependency.

Linus


\
 
 \ /
  Last update: 2014-02-20 21:01    [W:0.442 / U:1.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site