mbox series

[PATCHSET,next,0/6] Move eventfd cq tracking into io_ev_fd

Message ID 20240921080307.185186-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Move eventfd cq tracking into io_ev_fd | expand

Message

Jens Axboe Sept. 21, 2024, 7:59 a.m. UTC
Hi,

For some reason this ended up being a series of 6 patches, when the
goal was really just to move evfd_last_cq_tail out of io_ring_ctx
and into struct io_ev_fd, where it belongs. But this slowly builds to
that goal, and the final patch does the move unceremoniously.

Patches are on top of current -git with for-6.12/io_uring pulled in.

 io_uring/eventfd.c | 137 ++++++++++++++++++++++++++++++---------------
 1 file changed, 92 insertions(+), 45 deletions(-)

Comments

Jens Axboe Sept. 30, 2024, 2:28 p.m. UTC | #1
On Sat, 21 Sep 2024 01:59:46 -0600, Jens Axboe wrote:
> For some reason this ended up being a series of 6 patches, when the
> goal was really just to move evfd_last_cq_tail out of io_ring_ctx
> and into struct io_ev_fd, where it belongs. But this slowly builds to
> that goal, and the final patch does the move unceremoniously.
> 
> Patches are on top of current -git with for-6.12/io_uring pulled in.
> 
> [...]

Applied, thanks!

[1/6] io_uring/eventfd: abstract out ev_fd put helper
      commit: a2656907e0e2bd817f18ae5ba0c0bc47373031e0
[2/6] io_uring/eventfd: check for the need to async notifier earlier
      commit: e18ccce7024f18ada55e7bb714b28990e1fd3034
[3/6] io_uring/eventfd: move actual signaling part into separate helper
      commit: 0fa1e1b85857005aa7777dd3c92fa1f9324909ef
[4/6] io_uring/eventfd: move trigger check into a helper
      commit: bc9cd77386b3e5b9e7e4f2b016d0dbe4db2344bd
[5/6] io_uring/eventfd: abstract out ev_fd grab + release helpers
      commit: bb4fd7c94e41777b7980e0d06ea521311f7330be
[6/6] io_uring/eventfd: move ctx->evfd_last_cq_tail into io_ev_fd
      commit: e4355ab51156d5ca83733229fc6b3dfd7c5a4785

Best regards,