commit | 89440d2dad0cc2a781290470cb90402ebba481fc | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Tue Dec 28 15:59:38 2021 -0800 |
committer | Paul E. McKenney <paulmck@kernel.org> | Tue Feb 01 17:24:39 2022 -0800 |
tree | ae1f9173e91043d0849844e8be545d086ca8254f | |
parent | 02b51a1cf47977d8772c7dcc363ef6a1e6e59f21 [diff] |
rcutorture: Fix rcu_fwd_mutex deadlock The rcu_torture_fwd_cb_hist() function acquires rcu_fwd_mutex, but is invoked from rcutorture_oom_notify() function, which hold this same mutex across this call. This commit fixes the resulting deadlock. Reported-by: kernel test robot <oliver.sang@intel.com> Tested-by: Oliver Sang <oliver.sang@intel.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>