lkml.org 
[lkml]   [2015]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ipc/msg: Implement lockless pipelined wakeups
On Sat, 31 Oct 2015, Bueso wrote:

>Yes, and this confirms that we still rely on the implicit barrier
>from the cmpxchg as tglx mentioned. As such, we also need to keep
>the pairing when reading 'r_msg' in do_msgrcv(), instead of dropping
>the comments.

Hmm having r_msg as volatile seems even less needed now, we should
drop it. I imagine it was there initially for the busy-wait on the variable
becoming non-nil, but we had cpu_relax _anyway_, so ...


\
 
 \ /
  Last update: 2015-10-31 20:41    [W:0.079 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site