aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2014-09-04 12:21:41 -0700
committerPaul E. McKenney <[email protected]>2014-11-03 19:20:03 -0800
commit11bbb235c26f93b7c69e441452e44adbf6ed6996 (patch)
treefbb0889e0a86daf78272f16487a7682fe9cc0117 /tools/perf/util/scripting-engines/trace-event-python.c
parent28ced795cbb43f01146feb96d03a72facdee9911 (diff)
rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data
The rcu_data per-CPU variable has a number of fields that are atomically manipulated, potentially by any CPU. This situation can result in false sharing with per-CPU variables that have the misfortune of being allocated adjacent to rcu_data in memory. This commit therefore changes the DEFINE_PER_CPU() to DEFINE_PER_CPU_SHARED_ALIGNED() in order to avoid this false sharing. Reported-by: Christoph Lameter <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]> Reviewed-by: Christoph Lameter <[email protected]> Reviewed-by: Pranith Kumar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions