Re: [PATCH] x86: fix ordering constraints on crX read/writes

From: Jeremy Fitzhardinge
Date: Thu Jul 15 2010 - 15:28:25 EST


On 07/15/2010 11:54 AM, H. Peter Anvin wrote:
> No, we haven't. You're misunderstanding what a "memory" clobber does.
> A clobber affects the output side only, but doesn't inherently provide
> ordering on the input side. Apparently this is implicit in "asm
> volatile", which is a very important property.

OK. It would be nice to get that confirmed.

J

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