aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/msg_ring.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2024-03-28 18:38:44 +0000
committerJens Axboe <[email protected]>2024-06-24 14:39:39 +0000
commitc3ac76f9ca7a621428851149bc56bfca0aacaef4 (patch)
tree1d10e888424ed968ba9a63703fa75c1c25e18467 /io_uring/msg_ring.c
parentio_uring/msg_ring: tighten requirement for remote posting (diff)
downloadkernel-c3ac76f9ca7a621428851149bc56bfca0aacaef4.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions