logoalt Hacker News

dupedlast Friday at 3:53 PM1 replyview on HN

...don't you supply the memory in the submission queue? or do you mean the queues themselves?


Replies

LAC-Techyesterday at 12:37 AM

The memory for the submission queue is mmapd into user space. Easiest implementation to read is the Zig stdlib:

https://github.com/ziglang/zig/blob/69cf40da600224734d39c6f6...