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>
Tue, 8 Feb 2022 19:10:19 +0000 (11:10 -0800)
commit01e1ab0de39a33ea7725e71c0735927699a2b1a9
treed359acc231d5eddece8cc62e888e075c38290868
parent76c91a72a82e345ddd79a0f2e6bbac7be63a62da
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