summaryrefslogtreecommitdiffstats
path: root/io_uring/uring_cmd.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-03-28 19:38:44 +0100
committerJens Axboe <axboe@kernel.dk>2024-06-24 16:39:39 +0200
commitc3ac76f9ca7a621428851149bc56bfca0aacaef4 (patch)
tree1d10e888424ed968ba9a63703fa75c1c25e18467 /io_uring/uring_cmd.c
parentio_uring/msg_ring: tighten requirement for remote posting (diff)
downloadlinux-c3ac76f9ca7a621428851149bc56bfca0aacaef4.tar.xz
linux-c3ac76f9ca7a621428851149bc56bfca0aacaef4.zip
io_uring: add remote task_work execution helper
All our task_work handling is targeted at the state in the io_kiocb itself, which is what it is being used for. However, MSG_RING rolls its own task_work handling, ignoring how that is usually done. In preparation for switching MSG_RING to be able to use the normal task_work handling, add io_req_task_work_add_remote() which allows the caller to pass in the target io_ring_ctx. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/uring_cmd.c')
0 files changed, 0 insertions, 0 deletions