diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-04-25 21:03:36 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-06-25 20:26:24 +0200 |
commit | 17294ce6a41d3fee6a9bfc52387c107a4607c1c9 (patch) | |
tree | 2a203da30bba7bb2ef23561c6b1024ad82a574d0 | |
parent | srcu: Fix typos in __call_srcu() header comment (diff) | |
download | linux-17294ce6a41d3fee6a9bfc52387c107a4607c1c9.tar.xz linux-17294ce6a41d3fee6a9bfc52387c107a4607c1c9.zip |
srcu: Document that srcu_funnel_gp_start() implies srcu_funnel_exp_start()
This commit updates the header comment of srcu_funnel_gp_start() to
document the fact that srcu_funnel_gp_start() does the work of
srcu_funnel_exp_start(), in some cases by invoking it directly.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to '')
-rw-r--r-- | kernel/rcu/srcutree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c index 615e414b0c1e..37bef2fe80e6 100644 --- a/kernel/rcu/srcutree.c +++ b/kernel/rcu/srcutree.c @@ -641,6 +641,9 @@ static void srcu_funnel_exp_start(struct srcu_struct *sp, struct srcu_node *snp, * period s. Losers must either ensure that their desired grace-period * number is recorded on at least their leaf srcu_node structure, or they * must take steps to invoke their own callbacks. + * + * Note that this function also does the work of srcu_funnel_exp_start(), + * in some cases by directly invoking it. */ static void srcu_funnel_gp_start(struct srcu_struct *sp, struct srcu_data *sdp, unsigned long s, bool do_norm) |