RE: Synchronizing Bit operations V2

From: Chen, Kenneth W <kenneth.w.chen_at_intel.com>
Date: 2006-03-31 12:13:35
Christoph Lameter wrote on Thursday, March 30, 2006 5:09 PM
> In general yes the caller should not be thinking about clear_bit having 
> any memory ordering at all. However for IA64 arch specific code the bit 
> operations must have a certain ordering semantic and it would be best that 
> these are also consistent. clear_bit is not a lock operation and may 
> f.e. be used for locking something.

OK, fine.  Then please don't change smp_mb__after_clear_bit() for ia64.
i.e., leave it alone as noop.

- Ken
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Fri Mar 31 12:14:18 2006

This archive was generated by hypermail 2.1.8 : 2006-03-31 12:14:31 EST