rcu: Rename RCU_GP_DONE_FQS to RCU_GP_DOING_FQS
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 2 Jul 2015 19:27:31 +0000 (12:27 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 17 Jul 2015 21:59:05 +0000 (14:59 -0700)
commit32bb1c79996069ef9e4e53b428050749f9841c3f
tree6e3d28b5807d8f77f215d27b0a59f25809bc975a
parentb9a425cfcb3c473b4ca2f3dfaeaf13848f4a7976
rcu: Rename RCU_GP_DONE_FQS to RCU_GP_DOING_FQS

The grace-period kthread sleeps waiting to do a force-quiescent-state
scan, and when awakened sets rsp->gp_state to RCU_GP_DONE_FQS.
However, this is confusing because the kthread has not done the
force-quiescent-state, but is instead just starting to do it.  This commit
therefore renames RCU_GP_DONE_FQS to RCU_GP_DOING_FQS in order to make
things a bit easier on reviewers.

Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c
kernel/rcu/tree.h