Re: [PATCH 7/7] ipc,msg: document barriers

2014-01-10 Thread Mike Galbraith
On Fri, 2014-01-10 at 10:48 -0800, Davidlohr Bueso wrote: > 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 counter part at the receiving end is well documented for the lockless > recv alg

[PATCH 7/7] ipc,msg: document barriers

2014-01-10 Thread Davidlohr Bueso
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 counter part at the receiving end is well documented for the lockless recv algorithm, we still need to document these specific smp_mb() calls. S