srcu: Create concurrency-safe helper for initiating size transition
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 27 Jan 2022 22:56:39 +0000 (14:56 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 24 Feb 2022 17:50:10 +0000 (09:50 -0800)
commit01fe51a226f5efd3a6a8d73a4d5b39dff1d29478
treeaf37bf1fa41638cd551c10b6881dd94cf7b97a18
parent80f1cccfee49c9530fa60b9f147a2a3fe3a925d1
srcu: Create concurrency-safe helper for initiating size transition

Once there are contention-initiated size transitions, it will be
possible for rcutorture to initiate a transition at the same time
as a contention-initiated transition.  This commit therefore creates
a concurrency-safe helper function named srcu_transition_to_big() to
safely initiate size transitions.

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