RE: Synchronizing Bit operations V2

From: Chen, Kenneth W
Date: Thu Mar 30 2006 - 22:08:07 EST


Christoph Lameter wrote on Thursday, March 30, 2006 7:09 PM
> I was referring to the LOCK prefix. Doesnt that insure the processor to
> go into a special state and make the bus go into a special state that
> implies a barrier?

Yes, that's why on i386 both smp_mb__before_clear_bit() and
smp_mb__after_clear_bit() are noop.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/