On 4/22/26 12:25, Clément Léger wrote:
From: Pavel Begunkov <[email protected]>
...
+static void zcrx_notif_tw(struct io_tw_req tw_req, io_tw_token_t tw)
+{
+       struct io_kiocb *req = tw_req.req;
+       struct io_ring_ctx *ctx = req->ctx;
+
+       io_post_aux_cqe(ctx, req->cqe.user_data, req->cqe.res, 0);
+       percpu_ref_put(&ctx->refs);
+       kfree_rcu(req, rcu_head);
+}

Note to myself:

io_poison_req(req);
kmem_cache_free(req_cachep, req);

--
Pavel Begunkov


Reply via email to