aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_hash_map.zig
diff options
context:
space:
mode:
authorIgor Anić <igor.anic@gmail.com>2025-03-03 14:37:52 +0100
committerIgor Anić <igor.anic@gmail.com>2025-03-05 13:35:52 +0100
commitc133171567fe3a81f817d0ea159bd9229d75291c (patch)
treed6565515345ccf2fe738744af06bf5cbf5cc6a91 /lib/std/array_hash_map.zig
parent4df039d235d5f77830fdc30a4c23121f6216364a (diff)
downloadzig-c133171567fe3a81f817d0ea159bd9229d75291c.tar.gz
zig-c133171567fe3a81f817d0ea159bd9229d75291c.zip
io_uring: incremental provided buffer consumption
[Incremental provided buffer consumption](https://github.com/axboe/liburing/wiki/What's-new-with-io_uring-in-6.11-and-6.12#incremental-provided-buffer-consumption) support is added in kernel 6.12. IoUring.BufferGroup will now use incremental consumption whenever kernel supports it. Before, provided buffers are wholly consumed when picked. Each cqe points to the different buffer. With this, cqe points to the part of the buffer. Multiple cqe's can reuse same buffer. Appropriate sizing of buffers becomes less important. There are slight changes in BufferGroup interface (it now needs to track current receive point for each buffer). Init requires allocator instead of buffers slice, it will allocate buffers slice and head pointers slice. Get and put now requires cqe becasue there we have information will the buffer be reused.
Diffstat (limited to 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions