summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-10-23 12:14:02 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-25 07:42:35 -0600
commitfb27274a90eac5a687fe73229775ad36df737d8b (patch)
tree10641a2258c2823ec7fe9cff1b0313fc1cb74373 /tools/perf/scripts/python/export-to-sqlite.py
parentb9a6b8f92f6feebf40609e4f5f22a3c0404afb60 (diff)
io_uring: clusterise ki_flags access in rw_prep
ioprio setup doesn't depend on other fields that are modified in io_prep_rw() and we can move it down in the function without worrying about performance. It's useful as it makes iocb->ki_flags accesses/modifications closer together, so it's more likely the compiler will cache it in a register and avoid extra reloads. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/8ee98779c06f1b59f6039b1e292db4332efd664b.1634987320.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions