aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/msg_ring.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2022-06-25 10:53:02 +0000
committerJens Axboe <[email protected]>2022-07-25 00:39:16 +0000
commitfbb8bb02911790147ea936f3b1c5ceb1be54bf34 (patch)
treec183e2460bc828f7fa3db1966f25f19443204ed0 /io_uring/msg_ring.c
parentio_uring: don't check file ops of registered rings (diff)
downloadkernel-fbb8bb02911790147ea936f3b1c5ceb1be54bf34.tar.gz
kernel-fbb8bb02911790147ea936f3b1c5ceb1be54bf34.zip
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 <[email protected]> Link: https://lore.kernel.org/r/a11c57ad33a1be53541fce90669c1b79cf4d8940.1656153286.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions