• Paul E. McKenney's avatar
    rcutorture: Thread rcu_fwd pointer through forward-progress functions · 6b1b8325
    Paul E. McKenney authored
    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: default avatarPaul E. McKenney <paulmck@kernel.org>
    6b1b8325
rcutorture.c 74.8 KB