Re: Intel Memory Ordering White Paper

From: Andi Kleen
Date: Sat Sep 08 2007 - 06:19:58 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/