]> 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)
commit8f99373918e4517738ff904366c351a7892a96d4
tree12e214052c9039d05a2dc4153e2dc8fda8f5e3a8
parentb15b6e26b5f878e7e8d06e39c9bc7a7dd825e180
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