]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: deduplicate caches deallocation
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 31 Jan 2025 17:27:02 +0000 (17:27 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Feb 2025 12:34:45 +0000 (05:34 -0700)
commit40b991837f3293317c9845b549e10600e9d54611
treec1229d0f2107351e8e3e1976fee94058d26fcf1d
parent7d568502ef90e645e3f1afe4e10467d5952ddf87
io_uring: deduplicate caches deallocation

Add a function that frees all ring caches since we already have two
spots repeating the same thing and it's easy to miss it and change only
one of them.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b6b0125677c58bdff99eda91ab320137406e8562.1738342562.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c