summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-03-06 11:02:14 +0000
committerJens Axboe <axboe@kernel.dk>2021-03-07 14:12:43 -0700
commiteebd2e37e662617a6b8041db75205f0a262ce870 (patch)
tree6dc00160308de3a867a0f7771c0c83270f177ae9 /fs/proc
parentd56d938b4bef3e1421a42023cdcd6e13c1f50831 (diff)
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 'fs/proc')
0 files changed, 0 insertions, 0 deletions