Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1288910

Re: [PATCH v2 tip/core/rcu 03/11] rcu: Move smp_mb() from rcu_seq_snap() to rcu_exp_gp_seq_snap()

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 tip/core/rcu 03/11] rcu: Move smp_mb() from rcu_seq_snap() to rcu_exp_gp_seq_snap()
Date 2015-12-10 21:40 +0100
Message-ID <qEgam-2C0-29@gated-at.bofh.it> (permalink)
References <qDW1Y-6ob-11@gated-at.bofh.it> <qDW1Z-6ob-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Dec 09, 2015 at 03:03:00PM -0800, Paul E. McKenney wrote:
> The memory barrier in rcu_seq_snap() is needed only for grace periods,
> so this commit moves it to the grace-period-oriented wrapper
> rcu_exp_gp_seq_snap().

This is a bit short for a memory barrier changelog. I think I remember
enough of the code to see this is indeed so, but who knows who will
remember what in another few weeks :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 tip/core/rcu 03/11] rcu: Move smp_mb() from rcu_seq_snap() to rcu_exp_gp_seq_snap() "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-12-10 00:10 +0100
  Re: [PATCH v2 tip/core/rcu 03/11] rcu: Move smp_mb() from  rcu_seq_snap() to rcu_exp_gp_seq_snap() Peter Zijlstra <peterz@infradead.org> - 2015-12-10 21:40 +0100
    Re: [PATCH v2 tip/core/rcu 03/11] rcu: Move smp_mb() from  rcu_seq_snap() to rcu_exp_gp_seq_snap() "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-12-10 21:50 +0100

csiph-web