Commit 8994515c authored by Paul E. McKenney's avatar Paul E. McKenney

rcu: Update rcu_report_qs_rsp() comment

The header comment for rcu_report_qs_rsp() was obsolete, dating well
before the advent of RCU grace-period kthreads.  This commit therefore
brings this comment back into alignment with current reality.
Reported-by: default avatarLihao Liang <lihao.liang@cs.ox.ac.uk>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent bb53e416
...@@ -2234,11 +2234,13 @@ static bool rcu_start_gp(struct rcu_state *rsp) ...@@ -2234,11 +2234,13 @@ static bool rcu_start_gp(struct rcu_state *rsp)
} }
/* /*
* Report a full set of quiescent states to the specified rcu_state * Report a full set of quiescent states to the specified rcu_state data
* data structure. This involves cleaning up after the prior grace * structure. Invoke rcu_gp_kthread_wake() to awaken the grace-period
* period and letting rcu_start_gp() start up the next grace period * kthread if another grace period is required. Whether we wake
* if one is needed. Note that the caller must hold rnp->lock, which * the grace-period kthread or it awakens itself for the next round
* is released before return. * of quiescent-state forcing, that kthread will clean up after the
* just-completed grace period. Note that the caller must hold rnp->lock,
* which is released before return.
*/ */
static void rcu_report_qs_rsp(struct rcu_state *rsp, unsigned long flags) static void rcu_report_qs_rsp(struct rcu_state *rsp, unsigned long flags)
__releases(rcu_get_root(rsp)->lock) __releases(rcu_get_root(rsp)->lock)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment