From f06c186b965a8f472f0459f2226c9a98a8eee8a3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 18 Feb 2025 16:45:44 -0700 Subject: [PATCH] man/io_uring_queue_init.3: mention page alignment requirement If io_uring_queue_init_mem() is used, the memory passed in must be aligned on a page boundary. Link: https://github.com/axboe/liburing/issues/1329 Signed-off-by: Jens Axboe --- man/io_uring_queue_init.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/io_uring_queue_init.3 b/man/io_uring_queue_init.3 index 53b2e149b..342604d61 100644 --- a/man/io_uring_queue_init.3 +++ b/man/io_uring_queue_init.3 @@ -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.