]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: cache nodes and mapped buffers
authorKeith Busch <kbusch@kernel.org>
Thu, 27 Feb 2025 22:39:16 +0000 (14:39 -0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Feb 2025 14:05:46 +0000 (07:05 -0700)
commited9f3112a8a8f6e6919d3b9da2651fa302df7be3
tree4d6c3d569625be201e5fb33a44d2f0fb9a224e95
parent1f6540e2aabb7372e68223a3669019589c3e30ad
io_uring: cache nodes and mapped buffers

Frequent alloc/free cycles on these is pretty costly. Use an io cache to
more efficiently reuse these buffers.

Signed-off-by: Keith Busch <kbusch@kernel.org>
Link: https://lore.kernel.org/r/20250227223916.143006-7-kbusch@meta.com
[axboe: fix imu leak]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/filetable.c
io_uring/io_uring.c
io_uring/rsrc.c
io_uring/rsrc.h