io_uring/kbuf: check for ring provided buffers first in recycling io_uring-buf-list
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 01:41:28 +0000 (19:41 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 01:41:28 +0000 (19:41 -0600)
commit59c38b96429582f78fa6e5d068aea75116975dfd
tree34aa2a89062ed48816908998b342e5680a5fe227
parentbdca16834c2de50697235af7cc428f2a88e63779
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.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.h