RE: Fix ia64 bit ops: Full barriers for bit operations returning a

Christoph Lameter
2006-04-04T02:11:36Z

On Mon, 3 Apr 2006, Chen, Kenneth W wrote:

> Looks good to me.
> Acked-by: Ken Chen <kenneth.w.chen@intel.com>

Ummm.. Are you sure? The release should come before the acquire. The
final store of the cmpxchg may be delayed until after stores following the cmpxchg?

I am not sure how to fix this in an elegant way without adding a explicit
mf(). Any ideas?