summaryrefslogtreecommitdiff
path: root/io_uring/cancel.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-06-16 12:22:03 +0300
committerJens Axboe <axboe@kernel.dk>2022-07-25 03:39:13 +0300
commit1ab1edb0a104dd683d83e7853aa5b624856f4127 (patch)
tree6aa8ce39607bd76a3ab44e27e51637abd0d30869 /io_uring/cancel.c
parent38513c464d3d45b4088c82f6e42d9cdbc5ee57e6 (diff)
downloadlinux-1ab1edb0a104dd683d83e7853aa5b624856f4127.tar.xz
io_uring: pass poll_find lock back
Instead of using implicit knowledge of what is locked or not after io_poll_find() and co returns, pass back a pointer to the locked bucket if any. If set the user must to unlock the spinlock. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/dae1dc5749aa34367812ecf62f82fd3f053aae44.1655371007.git.asml.silence@gmail.com Reviewed-by: Hao Xu <howeyxu@tencent.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/cancel.c')
0 files changed, 0 insertions, 0 deletions