diff options
author | Davidlohr Bueso <davidlohr@hp.com> | 2014-01-28 02:07:10 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-28 06:02:40 +0100 |
commit | ffa571dafbaec0c74e374ce0ea7b4212b6cbc94c (patch) | |
tree | 21f19b4f4ddcf219c7b024c2cf7ffbac9d0a80b8 /lib/radix-tree.c | |
parent | ipc: delete seq_max field in struct ipc_ids (diff) | |
download | linux-ffa571dafbaec0c74e374ce0ea7b4212b6cbc94c.tar.xz linux-ffa571dafbaec0c74e374ce0ea7b4212b6cbc94c.zip |
ipc,msg: document barriers
Both expunge_all() and pipeline_send() rely on both a nil msg value and
a full barrier to guarantee the correct ordering when waking up a task.
While its counterpart at the receiving end is well documented for the
lockless recv algorithm, we still need to document these specific
smp_mb() calls.
[akpm@linux-foundation.org: fix typo, per Mike]
[akpm@linux-foundation.org: mroe tpyos]
Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Aswin Chandramouleeswaran <aswin@hp.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions