diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-10-08 13:54:03 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-11-08 14:50:11 -0500 |
commit | 7b2e6011f150c42235c4a541d20cf6891afe878a (patch) | |
tree | a02ac239103e97847ec29183d8aaa45c385a3335 /kernel/rcutree_plugin.h | |
parent | 489832609a1ad7189d11715d8cefb457d90182c5 (diff) |
rcu: Rename ->onofflock to ->orphan_lock
The ->onofflock field in the rcu_state structure at one time synchronized
CPU-hotplug operations for RCU. However, its scope has decreased over time
so that it now only protects the lists of orphaned RCU callbacks. This
commit therefore renames it to ->orphan_lock to reflect its current use.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r-- | kernel/rcutree_plugin.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index f92115488187..2b281cf0b6f2 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h | |||
@@ -757,7 +757,8 @@ static void rcu_report_exp_rnp(struct rcu_state *rsp, struct rcu_node *rnp, | |||
757 | * grace period for the specified rcu_node structure. If there are no such | 757 | * grace period for the specified rcu_node structure. If there are no such |
758 | * tasks, report it up the rcu_node hierarchy. | 758 | * tasks, report it up the rcu_node hierarchy. |
759 | * | 759 | * |
760 | * Caller must hold sync_rcu_preempt_exp_mutex and rsp->onofflock. | 760 | * Caller must hold sync_rcu_preempt_exp_mutex and must exclude |
761 | * CPU hotplug operations. | ||
761 | */ | 762 | */ |
762 | static void | 763 | static void |
763 | sync_rcu_preempt_exp_init(struct rcu_state *rsp, struct rcu_node *rnp) | 764 | sync_rcu_preempt_exp_init(struct rcu_state *rsp, struct rcu_node *rnp) |