[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20151031190633.GA1707@linux-uzut.site>
Date: Sat, 31 Oct 2015 12:06:33 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: George Spelvin <linux@...izon.com>
Cc: bigeasy@...utronix.de, tglx@...utronix.de,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
manfred@...orfullife.com, peterz@...radead.org
Subject: Re: [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 ...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists