rcutorture: Thread rcu_fwd pointer through forward-progress functions
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 5 Nov 2019 17:08:58 +0000 (09:08 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 9 Dec 2019 21:00:28 +0000 (13:00 -0800)
commit6b1b832546067caac8c5833abf88fa082d253b2f
tree6b45fa63243bfd86abedfcfb4fe704af414b7eee
parenta289e608b3e740c15f623148c26cdec2d6698ce0
rcutorture: Thread rcu_fwd pointer through forward-progress functions

In order to add multiple kthreads, it will be necessary to allow
the various functions to operate on a pointer to their kthread's
rcu_fwd structure.  This commit therefore starts the process of
adding the needed "struct rcu_fwd" parameters and arguments to the
various callback forward-progress functions.

Note that rcutorture_oom_notify() and rcu_torture_fwd_cb_hist() will
eventually need to iterate over all kthreads' rcu_fwd structures.

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