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>
Sun, 24 Aug 2025 17:41:12 +0000 (11:41 -0600)
commitfe524b06843c19cf8d0025b644d56c4c31e60bc9
tree1d226593f38e611b390c19720db8198aaa2f04ee
parente973837b54024f070b2b48c7ee9725548548257a
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