aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-02-12 03:23:54 +0000
committerJens Axboe <axboe@kernel.dk>2021-02-12 05:30:25 -0700
commit04fc6c802dfacba800f5a5d00bea0ebfcc60f840 (patch)
tree4a4ee9b5924d069c1c4d9f64b24ed9634058be1b /tools/perf/scripts/python/export-to-postgresql.py
parentio_uring: don't duplicate io_req_task_queue() (diff)
downloadwireguard-linux-04fc6c802dfacba800f5a5d00bea0ebfcc60f840.tar.xz
wireguard-linux-04fc6c802dfacba800f5a5d00bea0ebfcc60f840.zip
io_uring: save ctx put/get for task_work submit
Do a little trick in io_ring_ctx_free() briefly taking uring_lock, that will wait for everyone currently holding it, so we can skip pinning ctx with ctx->refs for __io_req_task_submit(), which is executed and loses its refs/reqs while holding the lock. Signed-off-by: Pavel Begunkov <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