Re: Intel Memory Ordering White Paper

Andi Kleen
2007-09-08T10:19:56Z

On Friday 07 September 2007 21:57:35 Nick Piggin wrote:

>
> > > Anyway, the lfence should be able to go away without so much trouble.
> >
> > You mean sfence? lfence in rmb is definitely needed.
>
> I mean lfence in smp_rmb().

One point of rmb is to stop speculative loads and I don't think we
can get that without lfence.

-Andi