io_uring: use tw for putting rsrc
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 7 Dec 2022 03:53:32 +0000 (03:53 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Dec 2022 13:47:13 +0000 (06:47 -0700)
commitd34b1b0b6779d4f5ee877b53cad90eef0f1cbe34
tree645befb3b88531edde87ab8a1207c6fe9fe2ac2e
parent17add5cea2bbafea0d481f1a3ea9dea019a98ee9
io_uring: use tw for putting rsrc

Use task_work for completing rsrc removals, it'll be needed later for
spinlock optimisations.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/cbba5d53a11ee6fc2194dacea262c1d733c8b529.1670384893.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c
io_uring/rsrc.c
io_uring/rsrc.h