commit | c34b025f2d2149d4351b994a923fa687a32478f8 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Mon Aug 09 20:18:08 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Aug 23 13:09:43 2021 -0600 |
tree | dd1c14cc5d6e8cea6a1888ce773dfcf074581a54 | |
parent | f56165e62fae78200292857628e4f1d8d12a0ed0 [diff] |
io_uring: cache __io_free_req()'d requests Don't kfree requests in __io_free_req() but put them back into the internal request cache. That makes allocations more sustainable and will be used for refcounting optimisations. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/9f4950fbe7771c8d41799366d0a3a08ac3040236.1628536684.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>