lkml.org 
[lkml]   [2008]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: MMIO and gcc re-ordering issue
From
Date

On Tue, 2008-05-27 at 09:47 -0700, Linus Torvalds wrote:
>
> __read[bwlq]()/__write[bwlq]() are not serialized with a :"memory"
> barrier, although since they still use "asm volatile" I suspect that
> i
> practice they are probably serial too. Did not look very closely at
> any
> generated code (only did a trivial test to see that the code looks
> *roughly* correct).

Nah, asm volatile doesn't help, it does need the "memory" clobber too.

Cheers,
Ben.




\
 
 \ /
  Last update: 2008-05-27 23:15    [W:0.439 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site