io_uring/msg_ring: tighten requirement for remote posting
authorJens Axboe <axboe@kernel.dk>
Tue, 28 May 2024 14:40:12 +0000 (08:40 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 3 Jun 2024 17:55:37 +0000 (11:55 -0600)
commitc25ace6b9071881e149f6041586e87bb50e3f6a5
tree9656971b30e7f4edd55abaf0474dd79dbb57be75
parent86922954cb72b38e764f39911e78c5fd941dced5
io_uring/msg_ring: tighten requirement for remote posting

Currently this is gated on whether or not the target ring needs a local
completion - and if so, whether or not we're running on the right task.
The use case for same thread cross posting is probably a lot less
relevant than remote posting. And since we're going to improve this
situation anyway, just gate it on local posting and ignore what task
we're currently running on.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/msg_ring.c