]> git.baikalelectronics.ru Git - kernel.git/commit
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, 3 May 2022 17:20:57 +0000 (10:20 -0700)
commit59d538322e3668ad5a083a5f1fc5ef29d4a14959
tree12e214052c9039d05a2dc4153e2dc8fda8f5e3a8
parent9fd6da6d346facc76216e2cfbd9bbff408cc46d3
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.

Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/srcutree.c