Messages in this thread | | | Date | Thu, 2 Feb 2006 16:49:04 -0500 (EST) | From | Alan Stern <> | Subject | Re: Question about memory barriers |
| |
On Thu, 2 Feb 2006, Roland Dreier wrote:
> Most of this is correct, except that mb() is stronger than just rmb() > and wmb() put together. All memory operations before the mb() will > complete before any operations after the mb(). A better way to > understand this is to look at the sparc64 definition: > > #define mb() \ > membar_safe("#LoadLoad | #LoadStore | #StoreStore | #StoreLoad")
Thanks for the explanation. Is there any appropriate place, say in Documentation/, where these things could be spelled out more completely?
Alan Stern
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |