Commit 89440d2
committed
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>1 parent 02b51a1 commit 89440d2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2180 | 2180 | | |
2181 | 2181 | | |
2182 | 2182 | | |
2183 | | - | |
2184 | 2183 | | |
2185 | 2184 | | |
2186 | 2185 | | |
| |||
2193 | 2192 | | |
2194 | 2193 | | |
2195 | 2194 | | |
2196 | | - | |
2197 | 2195 | | |
2198 | 2196 | | |
2199 | 2197 | | |
| |||
2431 | 2429 | | |
2432 | 2430 | | |
2433 | 2431 | | |
| 2432 | + | |
2434 | 2433 | | |
| 2434 | + | |
2435 | 2435 | | |
2436 | 2436 | | |
2437 | 2437 | | |
| |||
0 commit comments