[PATCH tip/core/rcu 02/40] rcu: Make arch select smp_mb__after_unlock_lock() strength
Peter Zijlstra
peterz at infradead.org
Thu Apr 13 19:24:18 AEST 2017
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.
More information about the Linuxppc-dev
mailing list