diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-04-04 13:39:52 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-04 09:30:39 -0600 |
commit | ff7c75ecaa9e6b251f76c24e289d4bfe413ffe31 (patch) | |
tree | 75168dbbfd5462d9189ec0ccf032e83bf539f57e /README | |
parent | c824986c113f15e2ef2c00da9a226c09ecaac74c (diff) |
io_uring/rsrc: optimise io_rsrc_put allocation
Every io_rsrc_node keeps a list of items to put, and all entries are
kmalloc()'ed. However, it's quite often to queue up only one entry per
node, so let's add an inline entry there to avoid extra allocations.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c482c1c652c45c85ac52e67c974bc758a50fed5f.1680576071.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions