diff options
| author | David Wei <dw@davidwei.uk> | 2025-11-04 14:44:56 -0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-11-06 16:23:21 -0700 |
| commit | 5c686456a4e83ef06c74d40be05c21a0ef136684 (patch) | |
| tree | 8589bcaf024ffc1c19b63001293718464ac9980c /rust/helpers/xarray.c | |
| parent | edd706ede85fc9a563556945069f87dbec769e07 (diff) | |
io_uring/zcrx: add user_struct and mm_struct to io_zcrx_ifq
In preparation for removing ifq->ctx and making ifq lifetime independent
of ring ctx, add user_struct and mm_struct to io_zcrx_ifq.
In the ifq cleanup path, these are the only fields used from the main
ring ctx to do accounting. Taking a copy in the ifq allows ifq->ctx to
be removed later, including the ctx->refs held by the ifq.
Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions
