Re: [PATCH 2/2] ix86: atomic64 assembly improvements

From: H. Peter Anvin
Date: Thu Jan 19 2012 - 09:56:12 EST


On 01/19/2012 06:50 AM, Jan Beulich wrote:

It doesn't have anything to do with caches on or off.

How does it not? If any part of the bus topology is only 32 bits wide,
a 64-bit read or write simply can't be executed atomically without
asserting LOCK#.


If any part of the bus topology is only 32 bits wide, you're not talking to memory on anything newer than a 486.

LOCK to I/O devices is unreliable on any machine (a lot of northbridges simply drop LOCK on the floor).

-hpa

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