OSDN Git Service

rcu: Rename n_nocb_gp_requests to need_future_gp
authorPaul E. McKenney <paul.mckenney@linaro.org>
Sun, 30 Dec 2012 21:06:35 +0000 (13:06 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 26 Mar 2013 15:04:56 +0000 (08:04 -0700)
commit8b425aa8f1acfe48aed919c7aadff2ed290fe969
tree355c435f747bda4c4051bf2a0e4f88596d7055e2
parentb8462084a2a88a6a0489f9bb7d8b1bb95bc455ab
rcu: Rename n_nocb_gp_requests to need_future_gp

CPUs going idle need to be able to indicate their need for future grace
periods.  A mechanism for doing this already exists for no-callbacks
CPUs, so the idea is to re-use that mechanism.  This commit therefore
moves the ->n_nocb_gp_requests field of the rcu_node structure out from
under the CONFIG_RCU_NOCB_CPU #ifdef and renames it to ->need_future_gp.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.h
kernel/rcutree_plugin.h