Thread (305 messages) 305 messages, 27 authors, 2007-09-11

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

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help