diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-22 11:17:51 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 15:42:03 -0700 |
commit | 8da9a59523b6608f4b21f3e489578d0993c0779f (patch) | |
tree | 7059a4926b5b50b52d15730958ff70c6ec2d71ea /Documentation/x86 | |
parent | 6b06aa723ed705102f3c63a494ac45352ccc0e7c (diff) | |
download | linux-stable-8da9a59523b6608f4b21f3e489578d0993c0779f.tar.gz linux-stable-8da9a59523b6608f4b21f3e489578d0993c0779f.tar.bz2 linux-stable-8da9a59523b6608f4b21f3e489578d0993c0779f.zip |
rcutorture: Use atomic increment for n_rcu_torture_timers
Currently, rcu_torture_timer() relies on a lock to guard updates to
n_rcu_torture_timers. Unfortunately, consolidating code with
rcu_torture_reader() will dispense with this lock. This commit
therefore makes n_rcu_torture_timers be an atomic_long_t and uses
atomic_long_inc() to carry out the update.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/x86')
0 files changed, 0 insertions, 0 deletions