Re: Uses for memory barriers

From: David Howells
Date: Tue Sep 12 2006 - 04:55:02 EST



I'd state it as:

mb() _implies_ both rmb() and wmb(), but is more complete than both
since it _also_ partially orders reads and writes with respect to each
other.

David
-
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/