]> 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)
commit495a0412fd130c2527dc799a71a0834baa679ffb
tree098edae9655451a63d08eb656f78806e5f9653ec
parentc253944a984b2ce2eefb2fc432fefdf74a3fa4b7
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