]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/zcrx: add ctx pointer to zcrx
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 May 2026 11:44:31 +0000 (12:44 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 May 2026 16:42:01 +0000 (10:42 -0600)
commit8503f2de11f7fe78a7fdb87746255c8d02897279
tree4a045157fa1759d87dfc373ed910788b0df212a8
parent84f7d0931c42cb0690615a431738cf6913d265f2
io_uring/zcrx: add ctx pointer to zcrx

zcrx will need to have a pointer to an owning ctx to communicate
different events. Reference the ctx while it's attached to zcrx, and
rely on zcrx termination to drop the ctx to avoid circular ref deps.

Co-developed-by: Vishwanath Seshagiri <vishs@meta.com>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Vishwanath Seshagiri <vishs@meta.com>
Link: https://patch.msgid.link/b60514b3d1bd92f571e3bd91751166f8c3599256.1779189667.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/zcrx.c
io_uring/zcrx.h