On Tue, 2017-09-26 at 16:32 +0800, Ming Lei wrote: > On Mon, Sep 25, 2017 at 11:13:47PM +0000, Bart Van Assche wrote: > > Sorry but I disagree. I'm using RCU to achieve the same effect as a barrier > > and to move the cost of the barrier from the reader to the updater. See also > > Paul E. McKenney, Mathieu Desnoyers, Lai Jiangshan, and Josh Triplett, > > The RCU-barrier menagerie, LWN.net, November 12, 2013 > > (https://lwn.net/Articles/573497/). > > Let me explain it in a bit details: [ ... ] The approach I used in patch 7/7 is identical to one of the approaches explained in the article I referred to. If you do not agree that that approach is safe that means that you do not neither agree with Paul McKenney's view on how RCU works. Do you really think that you know more about RCU than Paul McKenney? Bart.