Files
linux/include/linux
Paul E. McKenney 77e5849688 rcu: Make arch select smp_mb__after_unlock_lock() strength
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.  This
commit therefore creates ARCH_WEAK_RELEASE_ACQUIRE, has PPC select it,
and bases the definition of smp_mb__after_unlock_lock() on this new
ARCH_WEAK_RELEASE_ACQUIRE Kconfig option.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Boqun Feng <boqun.feng@linux.vnet.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: <linuxppc-dev@lists.ozlabs.org>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2017-04-18 11:20:15 -07:00
..
2017-03-07 14:30:38 +01:00
…
…
2017-01-24 12:37:43 -08:00
…
2017-03-01 09:50:58 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
2016-12-22 22:58:37 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-02-10 15:52:24 -05:00
…
…
…
2017-03-02 08:56:04 -07:00
…
…
…
2017-01-25 13:17:47 -05:00
2016-12-08 13:31:11 -05:00
…
…
…
…
…
…
…
…
…
…
2016-12-27 14:52:47 -05:00
2016-12-08 16:37:33 -08:00
…
2017-02-24 17:46:55 -08:00
…
…
…
…
…
…
2017-02-04 00:47:59 +01:00
…
…
…
…
…
…
…
…
…
…
2016-12-05 19:01:16 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-02-27 10:07:47 -08:00
…
…
…
…
…
…
…
2016-12-05 19:01:16 -05:00
…
…
…
…
…
…
…
…
…
2016-12-25 17:21:22 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-02-11 20:59:41 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-01-05 15:01:55 -06:00
…
…
…
…
…
…
…
…
…
2017-02-01 09:13:45 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
2016-12-12 18:55:06 -08:00
2016-12-25 17:21:23 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-02-24 17:46:57 -08:00
…
…
…
…
…
2016-12-06 11:05:46 +01:00
…
…
…
…
…
…
…
…
…
…
2017-01-12 16:48:26 -05:00
…
…
…
…
…
…
…
2017-03-01 09:50:58 -08:00
…
2016-11-16 18:32:02 -05:00
…
…
…
…
…
…
…
…
…
…
2016-12-12 18:55:07 -08:00
…
…
…
…
…
…
…
…
…
…
2016-12-06 10:17:03 +02:00
…
…
…
…
2017-03-02 08:56:04 -07:00
…
…
…
…
2017-02-20 10:15:11 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
2016-11-15 16:34:27 -08:00
…
…
2017-02-13 21:44:09 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-02-27 18:43:46 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-01-09 16:07:38 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2017-02-03 11:19:34 -05:00
…
…
2016-12-25 17:21:22 +01:00
…
…
2017-01-10 18:31:55 -08:00
…
…
…
…
…
2017-02-03 10:17:02 +01:00
…
…
2016-12-09 22:12:21 -05:00
…
…
…
…
…
…
2017-02-10 16:34:17 +00:00
…
…
…
…
…
…
2016-12-12 18:55:08 -08:00
2017-01-11 09:21:41 +01:00
…
…
…
…
…
…
…
2017-02-02 15:22:18 -05:00
…
…
…
…
…
…
…
…
…