diff options
author | 2021-08-18 12:42:46 +0100 | |
---|---|---|
committer | 2021-08-23 13:13:04 -0600 | |
commit | f237c30a5610d35a584f3296d397b93d80ce374e (patch) | |
tree | f2cbf701db225fbaa3d3402ec02d72002acd81b1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: flush completions for fallbacks (diff) | |
download | linux-dev-f237c30a5610d35a584f3296d397b93d80ce374e.tar.xz linux-dev-f237c30a5610d35a584f3296d397b93d80ce374e.zip |
io_uring: batch task work locking
Many task_work handlers either grab ->uring_lock, or may benefit from
having it. Move locking logic out of individual handlers to a lazy
approach controlled by tctx_task_work(), so we don't keep doing
tons of mutex lock/unlock.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/d6a34e147f2507a2f3e2fa1e38a9c541dcad3929.1629286357.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions