On Tue, 26 Jul 2022 14:06:29 +0100, Pavel Begunkov wrote: > We want to use all optimisations that we have for io_uring requests like > completion batching, memory caching and more but for zc notifications. > Fortunately, notification perfectly fit the request model so we can > overlay them onto struct io_kiocb and use all the infratructure. > > Most of the fields of struct io_notif natively fits into io_kiocb, so we > replace struct io_notif with struct io_kiocb carrying struct > io_notif_data in the cmd cache line. Then we adapt io_alloc_notif() to > use io_alloc_req()/io_alloc_req_refill(), and kill leftovers of hand > coded caching. __io_notif_complete_tw() is converted to use io_uring's > tw infra. > > [...] Applied, thanks! [1/1] io_uring/zc: notification completion optimisation commit: fbe6f6bc3210e853aab74f20da776c15c5b052fe Best regards, -- Jens Axboe