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, 24 Jun 2024 14:39:34 +0000 (08:39 -0600)
commitd57afd8bb7f2c4f0d86e9e9b276f7c3a7fedfc6d
tree87e4abbd413d2c612b54c7ce6c7b7ba9f4b98616
parent6bc9199d0c84f5cd72922223231c7708698059a2
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