Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
From: Christoph Lameter <hidden>
Date: 2007-08-15 19:59:30
Also in:
linux-arch, lkml
From: Christoph Lameter <hidden>
Date: 2007-08-15 19:59:30
Also in:
linux-arch, lkml
On Wed, 15 Aug 2007, Stefan Richter wrote:
LDD3 says on page 125: "The following operations are defined for the type [atomic_t] and are guaranteed to be atomic with respect to all processors of an SMP computer." Doesn't "atomic WRT all processors" require volatility?
Atomic operations only require exclusive access to the cacheline while the value is modified.