[PATCH] Document Linux's memory barriers [try #2]
Linus Torvalds
torvalds at osdl.org
Thu Mar 9 11:54:08 EST 2006
On Thu, 9 Mar 2006, Paul Mackerras wrote:
>
> If you ask me, the need for mmiowb on some platforms merely shows that
> those platforms' implementations of spinlocks and read*/write* are
> buggy...
You could also state that same as
"If you ask me, the need for mmiowb on some platforms merely shows
that those platforms perform like a bat out of hell, and I think
they should be slower"
because the fact is, x86 memory barrier rules are just about optimal for
performance.
Linus
More information about the Linuxppc64-dev
mailing list