diff options
author | 2015-04-19 18:16:02 -0700 | |
---|---|---|
committer | 2015-05-27 12:56:16 -0700 | |
commit | e90328b87eeff91574c18815bd6991b03bd6ecc0 (patch) | |
tree | 4c5b7d82d6160ab7931fa4bbb79e371c0b909bbe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | rcu: Convert ACCESS_ONCE() to READ_ONCE() and WRITE_ONCE() (diff) | |
download | wireguard-linux-e90328b87eeff91574c18815bd6991b03bd6ecc0.tar.xz wireguard-linux-e90328b87eeff91574c18815bd6991b03bd6ecc0.zip |
mce: Stop using array-index-based RCU primitives
Because mce is arch-specific x86 code, there is little or no
performance benefit of using rcu_dereference_index_check() over using
smp_load_acquire(). It also turns out that mce is the only place that
array-index-based RCU is used, and it would be convenient to drop
this portion of the RCU API.
This patch therefore changes rcu_dereference_index_check() uses to
smp_load_acquire(), but keeping the lockdep diagnostics, and also
changes rcu_access_index() uses to READ_ONCE().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: linux-edac@vger.kernel.org
Cc: Tony Luck <tony.luck@intel.com>
Acked-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions