diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-04-27 20:39:34 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 23:27:47 +0200 |
commit | 17ef2fe97c8c8e754e4a702c42f8e5b0ffadf4dd (patch) | |
tree | 57f08e5a676a2432fea98077ea5ff02626761e79 /security/yama | |
parent | rcu: Move rcu_gp_slow() to ->gp_seq (diff) | |
download | linux-17ef2fe97c8c8e754e4a702c42f8e5b0ffadf4dd.tar.xz linux-17ef2fe97c8c8e754e4a702c42f8e5b0ffadf4dd.zip |
rcu: Make rcutorture's batches-completed API use ->gp_seq
The rcutorture test invokes rcu_batches_started(),
rcu_batches_completed(), rcu_batches_started_bh(),
rcu_batches_completed_bh(), rcu_batches_started_sched(), and
rcu_batches_completed_sched() to do grace-period consistency checks,
and rcuperf uses the _completed variants for statistics.
These functions use ->gpnum and ->completed. This commit therefore
replaces them with rcu_get_gp_seq(), rcu_bh_get_gp_seq(), and
rcu_sched_get_gp_seq(), adjusting rcutorture and rcuperf to make
use of them.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'security/yama')
0 files changed, 0 insertions, 0 deletions