5 ms·
...don't you supply the memory in the submission queue? or do you mean the queues themselves?
by duped 1y ago
...don't you supply the memory in the submission queue? or do you mean the queues themselves?
- LAC-Tech 1y agoThe memory for the submission queue is mmapd into user space. Easiest implementation to read is the Zig stdlib: https://github.com/ziglang/zig/blob/69cf40da600224734d39c6f64fb2e0905e42d54a/lib/std/os/linux/IoUring.zig#L1511 https://github.com/ziglang/zig/blob/69cf40da600224734d39c6f6...