aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2023-04-04 13:39:52 +0100
committerJens Axboe <[email protected]>2023-04-04 09:30:39 -0600
commitff7c75ecaa9e6b251f76c24e289d4bfe413ffe31 (patch)
tree75168dbbfd5462d9189ec0ccf032e83bf539f57e /include/linux
parentc824986c113f15e2ef2c00da9a226c09ecaac74c (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 <[email protected]> Link: https://lore.kernel.org/r/c482c1c652c45c85ac52e67c974bc758a50fed5f.1680576071.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions