Skip to content

Commit

Permalink
man/io_uring_setup_buf_ring.3: add note about highmem and 32-bit
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Oct 18, 2023
1 parent f36c22c commit 2038f18
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion man/io_uring_setup_buf_ring.3
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,17 @@ Available since 5.19.
.SH RETURN VALUE
On success
.BR io_uring_setup_buf_ring (3)
returns a pointer to the buffe ring. On failure it returns
returns a pointer to the buffer ring. On failure it returns
.BR NULL
and sets
.I *ret
to -errno.
.SH NOTES
Note that even if the kernel supports this feature, registering a provided
buffer ring may still fail with
.B -EINVAL
if the host is a 32-bit architecture and the memory being passed in resides in
high memory.
.SH SEE ALSO
.BR io_uring_register_buf_ring (3),
.BR io_uring_buf_ring_init (3),
Expand Down

0 comments on commit 2038f18

Please sign in to comment.