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


Groups > linux.kernel > #1622856

Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select smp_mb__after_unlock_lock() strength

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select smp_mb__after_unlock_lock() strength
Date 2017-04-13 11:30 +0200
Message-ID <tvJeH-Wr-31@gated-at.bofh.it> (permalink)
References <tvuyZ-7rV-5@gated-at.bofh.it> <tvuz2-7rV-77@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Apr 12, 2017 at 10:39:47AM -0700, Paul E. McKenney wrote:
> The definition of smp_mb__after_unlock_lock() is currently smp_mb()
> for CONFIG_PPC and a no-op otherwise.  It would be better to instead
> provide an architecture-selectable Kconfig option, and select the
> strength of smp_mb__after_unlock_lock() based on that option. 


Why is this better? Do we want to have more of this? I thought we still
wanted to convince PPC to go RCsc and eradicate all this RCpc 'fun'. But
instead now you're making it look like its OK to grow more of this pain.

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


Thread

[PATCH tip/core/rcu 02/40] rcu: Make arch select smp_mb__after_unlock_lock() strength "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-12 19:50 +0200
  Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select  smp_mb__after_unlock_lock() strength Peter Zijlstra <peterz@infradead.org> - 2017-04-13 11:30 +0200
    Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select  smp_mb__after_unlock_lock() strength "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-13 18:20 +0200
  Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select  smp_mb__after_unlock_lock() strength Peter Zijlstra <peterz@infradead.org> - 2017-04-13 11:30 +0200
    Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select  smp_mb__after_unlock_lock() strength "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-13 18:30 +0200
      Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select  smp_mb__after_unlock_lock() strength Peter Zijlstra <peterz@infradead.org> - 2017-04-13 18:40 +0200
        Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select  smp_mb__after_unlock_lock() strength "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-13 19:10 +0200
          Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select smp_mb__after_unlock_lock() strength Michael Ellerman <mpe@ellerman.id.au> - 2017-04-19 15:40 +0200
            Re: [PATCH tip/core/rcu 02/40] rcu: Make arch select  smp_mb__after_unlock_lock() strength "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-04-19 17:20 +0200

csiph-web