diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-08-01 18:57:54 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 10:42:50 -0400 |
commit | b065a85354239cc96295f696eeace67ad3a55e5c (patch) | |
tree | 3f1d429c803ddf21c8bc0583711ba0d9e3ee4fab /kernel/rcutree_plugin.h | |
parent | a82dcc76021e22c174ba85d90b7a8c750b7362d0 (diff) |
rcu: Fix obsolete rcu_initiate_boost() header comment
Commit 1217ed1b (rcu: permit rcu_read_unlock() to be called while holding
runqueue locks) made rcu_initiate_boost() restore irq state when releasing
the rcu_node structure's ->lock, but failed to update the header comment
accordingly. This commit therefore brings the header comment up to date.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcutree_plugin.h')
-rw-r--r-- | kernel/rcutree_plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/rcutree_plugin.h b/kernel/rcutree_plugin.h index 15d28febbbd4..c47b28bf18ae 100644 --- a/kernel/rcutree_plugin.h +++ b/kernel/rcutree_plugin.h | |||
@@ -1197,9 +1197,9 @@ static int rcu_boost_kthread(void *arg) | |||
1197 | * kthread to start boosting them. If there is an expedited grace | 1197 | * kthread to start boosting them. If there is an expedited grace |
1198 | * period in progress, it is always time to boost. | 1198 | * period in progress, it is always time to boost. |
1199 | * | 1199 | * |
1200 | * The caller must hold rnp->lock, which this function releases, | 1200 | * The caller must hold rnp->lock, which this function releases. |
1201 | * but irqs remain disabled. The ->boost_kthread_task is immortal, | 1201 | * The ->boost_kthread_task is immortal, so we don't need to worry |
1202 | * so we don't need to worry about it going away. | 1202 | * about it going away. |
1203 | */ | 1203 | */ |
1204 | static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags) | 1204 | static void rcu_initiate_boost(struct rcu_node *rnp, unsigned long flags) |
1205 | { | 1205 | { |