]> www.infradead.org Git - users/willy/xarray.git/commit
rcutorture: Add SRCU ->same_gp_state and ->get_comp_state functions
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 14 Jun 2024 23:47:12 +0000 (16:47 -0700)
committerNeeraj Upadhyay <neeraj.upadhyay@kernel.org>
Mon, 29 Jul 2024 02:05:44 +0000 (07:35 +0530)
commit1bc5bb9a61378bbb2ca73ab06651d5b174876a8e
tree2941873625886d086aa3e903638b1dd8d83081f5
parentcf3b1501a8aa8e817baede5e3e1f2beb26a09527
rcutorture: Add SRCU ->same_gp_state and ->get_comp_state functions

This commit points the SRCU ->same_gp_state and ->get_comp_state fields
to same_state_synchronize_srcu() and get_completed_synchronize_srcu(),
allowing them to be tested.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
kernel/rcu/rcutorture.c