sched,rcu: Rework try_invoke_on_locked_down_task()
authorPeter Zijlstra <peterz@infradead.org>
Tue, 21 Sep 2021 19:54:32 +0000 (21:54 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 7 Oct 2021 11:51:15 +0000 (13:51 +0200)
commit9b3c4ab3045e953670c7de9c1165fae5358a7237
treea59a777c69ffba9da50b637861fa7d59a583f1e9
parentf6ac18fafcf6cc5e41c26766d12ad335ed81012e
sched,rcu: Rework try_invoke_on_locked_down_task()

Give try_invoke_on_locked_down_task() a saner name and have it return
an int so that the caller might distinguish between different reasons
of failure.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Tested-by: Vasily Gorbik <gor@linux.ibm.com> # on s390
Link: https://lkml.kernel.org/r/20210929152428.649944917@infradead.org
include/linux/wait.h
kernel/rcu/tasks.h
kernel/rcu/tree_stall.h
kernel/sched/core.c