Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
From: Herbert Xu <hidden>
Date: 2007-08-17 00:02:42
Also in:
linux-arch, lkml
From: Herbert Xu <hidden>
Date: 2007-08-17 00:02:42
Also in:
linux-arch, lkml
On Thu, Aug 16, 2007 at 03:48:54PM -0400, Chris Snook wrote:
quoted
Can you find an actual atomic_read code snippet there that is broken without the volatile modifier?A whole bunch of atomic_read uses will be broken without the volatile modifier once we start removing barriers that aren't needed if volatile behavior is guaranteed.
Could you please cite the file/function names so we can see whether removing the barrier makes sense? Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt