Re: Fix ia64 bit ops: Full barriers for bit operations returning

Nick Piggin
2006-04-04T01:05:43Z

Chen, Kenneth W wrote:

>Christoph Lameter wrote on Monday, April 03, 2006 11:33 AM
>
>>
>>Note that this only fixes up the bit operations if used together with the
>>earlier fix for the clear_bit barriers. We still need a fix for general
>>atomic operations.
>>
>>Signed-off-by: Christoph Lameter <clameter@sgi.com>
>>
>
>
>Looks good to me.
>Acked-by: Ken Chen <kenneth.w.chen@intel.com>
>

I don't think my concern about this approach was ever answered: an
acquire + release combination will always allow memory operations to
move past the atomic operation, won't it?

I would have thought you'd need release + acquire.

--

Send instant messages to your online friends http://au.messenger.yahoo.com