]> git.baikalelectronics.ru Git - kernel.git/commit
rcutorture: Simplify rcu_torture_read_exit_child() loop
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 27 Apr 2022 18:46:02 +0000 (11:46 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 21 Jun 2022 22:56:46 +0000 (15:56 -0700)
commit0c756e549ea7f00f97190b06665629a6ec2ca92f
tree098edae9655451a63d08eb656f78806e5f9653ec
parent879958341269d76b2aba57f71af9f5eb6b964d49
rcutorture: Simplify rcu_torture_read_exit_child() loop

The existing loop has an implicit manual loop that obscures the flow
and requires an extra control variable.  This commit makes this implicit
loop explicit, thus saving several lines of code.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c