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>
This commit is contained in:
Родитель
b8f2ed5384
Коммит
5403d367a7
|
@ -2828,8 +2828,7 @@ static void rcu_do_batch(struct rcu_state *rsp, struct rcu_data *rdp)
|
||||||
* Also schedule RCU core processing.
|
* Also schedule RCU core processing.
|
||||||
*
|
*
|
||||||
* This function must be called from hardirq context. It is normally
|
* This function must be called from hardirq context. It is normally
|
||||||
* invoked from the scheduling-clock interrupt. If rcu_pending returns
|
* invoked from the scheduling-clock interrupt.
|
||||||
* false, there is no point in invoking rcu_check_callbacks().
|
|
||||||
*/
|
*/
|
||||||
void rcu_check_callbacks(int user)
|
void rcu_check_callbacks(int user)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче