diff options
| author | Peter Zijlstra <[email protected]> | 2021-09-22 10:14:15 +0200 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-10-07 13:51:15 +0200 |
| commit | f6ac18fafcf6cc5e41c26766d12ad335ed81012e (patch) | |
| tree | 96579fe0d912dab753b914131e9a21b5c0b03c28 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 769fdf83df57b373660343ef4270b3ada91ef434 (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) <[email protected]>
Acked-by: Vasily Gorbik <[email protected]>
Tested-by: Vasily Gorbik <[email protected]> # on s390
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions