rcu: Use better variable names in funnel locking loop
authorJoel Fernandes (Google) <joel@joelfernandes.org>
Wed, 23 May 2018 06:38:14 +0000 (23:38 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:38:57 +0000 (15:38 -0700)
commitdf2bf8f7f776cef57e6b27690c7b78c86f259515
treea3a13932d5ab59e1617dfdb54f29814e67296784
parentb73de91d6a4c97ed586b2a5a6ce7c6fe395d9a3b
rcu: Use better variable names in funnel locking loop

The funnel locking loop in rcu_start_this_gp uses rcu_root as a
temporary variable while walking the combining tree. This causes a
tiresome exercise of a code reader reminding themselves that rcu_root
may not be root. Lets just call it rnp, and rename other variables as
well to be more appropriate.

Original patch: https://patchwork.kernel.org/patch/10396577/

Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Fix name in comment as well. ]
kernel/rcu/tree.c