On Tue, 4 Mar 2014, Yury Gribov wrote:
> Richard wrote:
> > volatile __asm__("":::"memory")
> >
> > is a memory barrier and a barrier for other volatile instructions.
>
> AFAIK asm without output arguments is implicitly marked as volatile. So it may
> not be needed in barrier() at all.

Yes, exactly.  Had it at some time been needed, that'd be a bug.
(I have a faint recollection of that, faint enough to be a false
memory.)

brgds, H-P

Reply via email to