lkml.org 
[lkml]   [2007]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: I/O memory barriers vs SMP memory barriers
Date
Lennert Buytenhek <buytenh@wantstofly.org> wrote:

> Does everybody agree on these semantics, though? At least David seems
> to think that mb/rmb/wmb aren't required to order normal memory accesses
> against each other..

Ummm... I've just realised that your statement here is ambiguous. When you
say "aren't required to", do you mean "aren't necessary to" or do you mean
"don't have to"? Isn't English a fun language?

Anyway, what I meant is that mb() and co. as they stand _must_ do everything
smp_mb() and co do respectively, _in_ _addition_ to other side effects.

mb() implies smp_mb()
rmb() implies smp_rmb()
wmb() implies smp_wmb()
...

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

\
 
 \ /
  Last update: 2007-03-26 12:09    [W:0.060 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site