Re: [PATCH tip/core/rcu 21/21] drivers/vhost: Remove now-redundant read_barrier_depends()

From: Peter Zijlstra
Date: Tue Dec 05 2017 - 17:10:48 EST


On Tue, Dec 05, 2017 at 01:36:44PM -0800, Paul E. McKenney wrote:
> What we do in some code is to comment the pairings, allowing the other
> side of the pairing to be easily located. Would that work for you?

I would say that that is mandatory for any memory ordering code ;-)