io_uring/kbuf: remove legacy kbuf caching
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 5 Feb 2025 11:36:46 +0000 (11:36 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Feb 2025 12:34:45 +0000 (05:34 -0700)
commit13ee854e7c04236a47a5beaacdcf51eb0bc7a8fa
tree39868bf1a91980edf9fdce60781d3f188cb71e1e
parentdc39fb1093ea33019f192c93b77b863282e10162
io_uring/kbuf: remove legacy kbuf caching

Remove all struct io_buffer caches. It makes it a fair bit simpler.
Apart from from killing a bunch of lines and juggling between lists,
__io_put_kbuf_list() doesn't need ->completion_lock locking now.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/18287217466ee2576ea0b1e72daccf7b22c7e856.1738724373.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/io_uring.c
io_uring/kbuf.c
io_uring/kbuf.h