Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5403d367 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Remove obsolete rcu_check_callbacks() header comment



In the deep past, rcu_check_callbacks() was only invoked if rcu_pending()
returned true.  Which was fine, but these days rcu_check_callbacks()
is invoked unconditionally.  This commit therefore removes the obsolete
sentence from the header comment.

Reported-by: default avatarMichalis Kokologiannakis <mixaskok@gmail.com>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent b8f2ed53
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2828,8 +2828,7 @@ static void rcu_do_batch(struct rcu_state *rsp, struct rcu_data *rdp)
 * Also schedule RCU core processing.
 *
 * This function must be called from hardirq context.  It is normally
 * invoked from the scheduling-clock interrupt.  If rcu_pending returns
 * false, there is no point in invoking rcu_check_callbacks().
 * invoked from the scheduling-clock interrupt.
 */
void rcu_check_callbacks(int user)
{