diff options
| author | Clément Léger <cleger@meta.com> | 2026-05-19 14:44:34 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-05-26 19:42:01 +0300 |
| commit | 6935f631465f5f60205978a59228a26db4723d51 (patch) | |
| tree | 0ece228291355350c4a265f2a3de46b7ae7ba1b0 /include/linux/debugobjects.h | |
| parent | 255180f7034f48aa5b0c8df70228307394bddbb9 (diff) | |
| download | linux-6935f631465f5f60205978a59228a26db4723d51.tar.xz | |
io_uring/zcrx: add shared-memory notification statistics
Add support for an optional stats struct embedded in the refill queue
region, allowing userspace to monitor copy-fallback in real-time.
Userspace queries the stats struct size and alignment via
IO_URING_QUERY_ZCRX_NOTIF (notif_stats_size / notif_stats_alignment),
then provides a stats_offset in zcrx_notification_desc pointing to a
location within the refill queue region.
The kernel updates the stats counters in-place on every copy-fallback
event.
Signed-off-by: Clément Léger <cleger@meta.com>
[pavel: rename io_uring_zcrx_notif_stats]
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/f6af5a21015efea4b733b9d77aba22c637788fe4.1779189667.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
