Re: [PATCH next] rcu: Unlock correctly in rcu_dump_cpu_stacks()

2024-10-25 Thread Paul E. McKenney
On Fri, Oct 25, 2024 at 10:06:43AM +0300, Dan Carpenter wrote: > The unlock needs to be outside the } close curly braces for this if > statement. Otherwise it leads to a deadlock. > > Fixes: 744e87210b1a ("rcu: Finer-grained grace-period-end checks in > rcu_dump_cpu_stacks()") > Signed-off-by: D

[PATCH next] rcu: Unlock correctly in rcu_dump_cpu_stacks()

2024-10-25 Thread Dan Carpenter
The unlock needs to be outside the } close curly braces for this if statement. Otherwise it leads to a deadlock. Fixes: 744e87210b1a ("rcu: Finer-grained grace-period-end checks in rcu_dump_cpu_stacks()") Signed-off-by: Dan Carpenter --- kernel/rcu/tree_stall.h | 2 +- 1 file changed, 1 insert