Re: [PATCH] Document Linux's memory barriers

From: Linus Torvalds
Date: Thu Mar 09 2006 - 12:54:10 EST




On Thu, 9 Mar 2006, Linus Torvalds wrote:
>
> So the fact that x86 SMP ops basically never guarantee any bus cycles
> basically means that they are fundamentally no-ops when it comes to IO
> serialization. That was really my only point.

Side note: of course, locked cycles _do_ "serialize" the core. So they'll
stop at least the core write merging, and speculative reads. So they do
have some impact on IO, but they have no way of impacting things like
write posting etc that is outside the CPU.

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/