diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-10-04 22:02:55 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-19 14:49:54 +0300 |
commit | c1e53a6988b9c83dd8bbc759414bc0f13ff1fe0c (patch) | |
tree | f1a48afe3bf8aad7caa5f7e4b789b283e2451621 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c072481ded14bceb9a4163ac81ce73d907a43855 (diff) | |
download | linux-c1e53a6988b9c83dd8bbc759414bc0f13ff1fe0c.tar.xz |
io_uring: optimise io_free_batch_list()
Delay reading the next node in io_free_batch_list(), allows the compiler
to load the value a bit later improving register spilling in some cases.
With gcc 11.1 it helped to move @task_refs variable from the stack to a
register and optimises out a couple of per request instructions.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/cc9fdfb6f72a4e8bc9918a5e9f2d97869a263ae4.1633373302.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions