Skip to content

Commit

Permalink
man/io_uring_queue_init.3: mention page alignment requirement
Browse files Browse the repository at this point in the history
If io_uring_queue_init_mem() is used, the memory passed in must be
aligned on a page boundary.

Link: #1329
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Feb 18, 2025
1 parent bf56ab2 commit f06c186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/io_uring_queue_init.3
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ flag to
.BR io_uring_setup (2).
The buffer passed to
.BR io_uring_queue_init_mem (3)
must already be zeroed.
must be page size aligned on the host, and must already be zeroed.
Typically, the caller should allocate a huge page and pass that in to
.BR io_uring_queue_init_mem (3).
Pages allocated by mmap are already zeroed.
Expand Down

0 comments on commit f06c186

Please sign in to comment.