summaryrefslogtreecommitdiff
path: root/kernel/backtracetest.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-09-22 10:14:15 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-10-07 13:51:15 +0200
commitf6ac18fafcf6cc5e41c26766d12ad335ed81012e (patch)
tree96579fe0d912dab753b914131e9a21b5c0b03c28 /kernel/backtracetest.c
parent769fdf83df57b373660343ef4270b3ada91ef434 (diff)
sched: Improve try_invoke_on_locked_down_task()
Clarify and tighten try_invoke_on_locked_down_task(). Basically the function calls @func under task_rq_lock(), except it avoids taking rq->lock when possible. This makes calling @func unconditional (the function will get renamed in a later patch to remove the try). Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.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.589323576@infradead.org
Diffstat (limited to 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions