commit | fa05457a603e7c8e97cd4cfb62de64bc9547ecb5 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Apr 12 15:09:48 2022 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 24 18:02:46 2022 -0600 |
tree | 7f23733bfb21f869211df0cc626ffcc1154f95c0 | |
parent | 88ab95be7e408ff9cedc81ad5402ad4bd700baf9 [diff] |
io_uring: add helper to return req to cache list Don't hand code wq_stack_add_head() to ->free_list, which serves for recycling io_kiocb, add a helper doing it for us. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/f206f575486a8dd3d52f074ab37ed146b2d215b7.1649771823.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>