Messages in this thread | | | Date | Sat, 29 Sep 2007 09:11:10 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [rfc][patch] i386: remove comment about barriers |
| |
On Sat, 29 Sep 2007, Nick Piggin wrote: > > 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 - 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/
| |