diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-09-01 08:04:24 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-11-14 13:46:14 -0500 |
commit | 5403d367a746cfc51676e3b39be600d94f587867 (patch) | |
tree | f6db5a79fb2c069d484d3bf0553ddf5cd4be792c | |
parent | b8f2ed538477d9ab803c6458f497df1b1c6cf4ce (diff) |
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: Michalis Kokologiannakis <mixaskok@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
-rw-r--r-- | kernel/rcu/tree.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 37e4f7d2be0c..d52780024f9f 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c | |||
@@ -2828,8 +2828,7 @@ static void rcu_do_batch(struct rcu_state *rsp, struct rcu_data *rdp) | |||
2828 | * Also schedule RCU core processing. | 2828 | * Also schedule RCU core processing. |
2829 | * | 2829 | * |
2830 | * This function must be called from hardirq context. It is normally | 2830 | * This function must be called from hardirq context. It is normally |
2831 | * invoked from the scheduling-clock interrupt. If rcu_pending returns | 2831 | * invoked from the scheduling-clock interrupt. |
2832 | * false, there is no point in invoking rcu_check_callbacks(). | ||
2833 | */ | 2832 | */ |
2834 | void rcu_check_callbacks(int user) | 2833 | void rcu_check_callbacks(int user) |
2835 | { | 2834 | { |