diff options
author | 2021-03-06 11:02:14 +0000 | |
---|---|---|
committer | 2021-03-07 14:12:43 -0700 | |
commit | eebd2e37e662617a6b8041db75205f0a262ce870 (patch) | |
tree | 6dc00160308de3a867a0f7771c0c83270f177ae9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: do ctx initiated file note removal (diff) | |
download | wireguard-linux-eebd2e37e662617a6b8041db75205f0a262ce870.tar.xz wireguard-linux-eebd2e37e662617a6b8041db75205f0a262ce870.zip |
io_uring: don't take task ring-file notes
With ->flush() gone we're now leaving all uring file notes until the
task dies/execs, so the ctx will not be freed until all tasks that have
ever submit a request die. It was nicer with flush but not much, we
could have locked as described ctx in many cases.
Now we guarantee that ctx outlives all tctx in a sense that
io_ring_exit_work() waits for all tctxs to drop their corresponding
enties in ->xa, and ctx won't go away until then. Hence, additional
io_uring file reference (a.k.a. task file notes) are not needed anymore.
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