commit | 9eae8655f9cd2eeed99fb7a0d2bb22816c17e497 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Tue Apr 04 13:39:54 2023 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Apr 04 09:30:39 2023 -0600 |
tree | 9839eb9739e972da6b62d363843f1fa95e48ea4b | |
parent | 36b9818a5a84cb7c977fb723babca1c8d74f288f [diff] |
io_uring/rsrc: cache struct io_rsrc_node Add allocation cache for struct io_rsrc_node, it's always allocated and put under ->uring_lock, so it doesn't need any extra synchronisation around caches. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/252a9d9ef9654e6467af30fdc02f57c0118fb76e.1680576071.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>