io_uring/kbuf: check for ring provided buffers first in recycling
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 02:03:41 +0000 (20:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 11:37:40 +0000 (05:37 -0600)
commitc92aa3aa642e2c4a5b43119aff9804288b924042
tree9d4d79eecc5adecae03f4622f7278e1f96be7b58
parentdf5f643a1a65374f9bf89ff9e8fee8913fc28a7b
io_uring/kbuf: check for ring provided buffers first in recycling

This is the most likely of paths if a provided buffer is used, so offer
it up first and push the legacy buffers to later.

Link: https://lore.kernel.org/r/20250821020750.598432-14-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.h