Skip to content

clarify registered buffers iovec lifetime - #1620

Merged
axboe merged 1 commit into
axboe:masterfrom
jiv4:man_page
Jul 21, 2026
Merged

clarify registered buffers iovec lifetime#1620
axboe merged 1 commit into
axboe:masterfrom
jiv4:man_page

Conversation

@jiv4

@jiv4 jiv4 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@axboe

axboe commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Commit message needs updating:

  1. Signed-off-by (real identity, not some online handle)
  2. Actual commit message. A commit message explains WHY a commit is being made.

See other git commits in the tree, they all should follow this rule. Few exceptions, but at least the title (first line) of the commit should be descriptive. And if that isn't enough, add the WHY in the body.

@jiv4
jiv4 force-pushed the man_page branch 7 times, most recently from 067ecf1 to 374139a Compare July 21, 2026 17:37
The io_uring_register_buffers* functions don't require that the
memory that is backing the iovec structs stay valid for the lifetime
of the ring. The caller is therefore allowed to free the iovecs in
case they were allocated on the heap.

Signed-off-by: Arthur Leclerc <jiv4@proton.me>
@axboe
axboe merged commit 1136bf2 into axboe:master Jul 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants