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, 17 Jun 2024 21:10:55 +0000 (15:10 -0600)
commitcf8fa0514dd78d703f4d009b93e15966f7dbe3d8
treebc6be0a6061fa6fd16aebc4733905b5b71c3b9a6
parent3b87184f7eff27fef7d7ee18b65f173152e1bb81
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