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>
Thu, 24 Feb 2022 17:50:11 +0000 (09:50 -0800)
commitc76d5f9119ee3f53e54eab3e30319132bc825b44
treea119b5a1c757b8c8c21eb63a930dffa4c93f4905
parent543fb8d7a1e0ad0665fdd8dfdee04a43072b1f80
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