diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-10-05 15:03:10 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-11-28 15:51:20 -0800 |
commit | 2342172fd6c148506456862d795c7f155baf6797 (patch) | |
tree | cd9d468341bd806b71b7d4c7c80ceab84e87ed56 /tools/perf/builtin-script.c | |
parent | 914955e18ca09fc404d7fc3614bb04c96a03692c (diff) | |
download | linux-2342172fd6c148506456862d795c7f155baf6797.tar.gz linux-2342172fd6c148506456862d795c7f155baf6797.tar.xz |
rcu: Avoid ->dynticks_nesting store tearing
Although ->dynticks_nesting is updated only by process level, it is
accessed from hardirq to check for interrupt-from-idle quiescent states.
Store tearing is thus possible, so this commit applies WRITE_ONCE()
to ->dynticks_nesting stores.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions