On Sat, 29 Sep 2007, Nick Piggin wrote:
quoted text >
> OK this was going to be a quick patch, but after sleeping on it, I think
> it deserves a better analysis... I can prove the comment is incorrect with a
> test program, but I'm not as sure about my thinking that leads me to call it
> also misleading.
You're 100% right, that comment is total crap.
An lfence is *not* a memory barrier, it's just a read memory barrier.
Although on some microarchitectures they may of course end up being the
same thing.
Linus
-
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: [rfc][patch] i386: remove comment about barriers , Linus Torvalds , (Sat Sep 29, 9:11 am)