srcu: Add contention check to call_srcu() srcu_data ->lock acquisition
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 31 Jan 2022 21:27:15 +0000 (13:27 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 8 Feb 2022 19:13:58 +0000 (11:13 -0800)
commit105f48b571663a4bfb58527aba1dbf983d4d161c
treea31c7dd138405375f9a6a1649eff0a22845827fb
parent92093b1bdf48286aefc8da09db3f28dab01f0449
srcu: Add contention check to call_srcu() srcu_data ->lock acquisition

This commit increases the sensitivity of contention detection by adding
checks to the acquisition of the srcu_data structure's lock on the
call_srcu() code path.

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