Re: [PATCH] mm: PageLRU can be non-atomic bit operation

Andi Kleen
2007-04-25T08:59:39Z

> This seems to imply that we need the lock prefix even when updating
> different bits within the same long (not just the same byte). Is this
> interpretation correct?

Yes, that is what I said. The consistency applies to loads/stores
(so e.g. for 128bit SSE2 load/stores too), not bytes.

The current IA32 manuals have a more detailed description of the rules
in volume 3

-Andi