summaryrefslogtreecommitdiff
path: root/io_uring/openclose.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-06-25 11:53:02 +0100
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:16 -0600
commitfbb8bb02911790147ea936f3b1c5ceb1be54bf34 (patch)
treec183e2460bc828f7fa3db1966f25f19443204ed0 /io_uring/openclose.c
parent3273c4407acd4348b1531e1f860fbf1da942893b (diff)
io_uring: remove ctx->refs pinning on enter
io_uring_enter() takes ctx->refs, which was previously preventing racing with register quiesce. However, as register now doesn't touch the refs, we can freely kill extra ctx pinning and rely on the fact that we're holding a file reference preventing the ring from being destroyed. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/a11c57ad33a1be53541fce90669c1b79cf4d8940.1656153286.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/openclose.c')
0 files changed, 0 insertions, 0 deletions