Re: [PATCH] Document Linux's memory barriers [try #2]

From: Linus Torvalds
Date: Wed Mar 08 2006 - 19:52:21 EST




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
-
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/