]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: don't pass ctx to tw add remote helper
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 28 Mar 2025 23:11:51 +0000 (23:11 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Mar 2025 23:14:01 +0000 (17:14 -0600)
commitea9106786e264483312b9b270fca1b506223338d
tree6df30f09f12c41e7ea56ab041eadcf6294f03470
parent9cc0bbdaba2a66ad90bc6ce45163b7745baffe98
io_uring: don't pass ctx to tw add remote helper

Unlike earlier versions, io_msg_remote_post() creates a valid request
with a proper context, so don't pass a context to
io_req_task_work_add_remote() explicitly but derive it from the request.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/721f51cf34996d98b48f0bfd24ad40aa2730167e.1743190078.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/msg_ring.c