Legacy provided buffers are slow and discouraged, users are encouraged to use ring provided buffers instead. Clean up the legacy code, remove caching and optimisations. The goal here it to make it simpler and less of a burden to maintain. Pavel Begunkov (8): io_uring/kbuf: remove legacy kbuf bulk allocation io_uring/kbuf: remove legacy kbuf kmem cache io_uring/kbuf: move locking into io_kbuf_drop() io_uring/kbuf: simplify __io_put_kbuf io_uring/kbuf: remove legacy kbuf caching io_uring/kbuf: open code __io_put_kbuf() io_uring/kbuf: introduce io_kbuf_drop_legacy() io_uring/kbuf: uninline __io_put_kbufs include/linux/io_uring_types.h | 3 - io_uring/io_uring.c | 11 +-- io_uring/io_uring.h | 1 - io_uring/kbuf.c | 172 +++++++++++++++------------------ io_uring/kbuf.h | 100 +++---------------- 5 files changed, 89 insertions(+), 198 deletions(-) -- 2.47.1