summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2021-10-17 04:32:29 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-19 14:49:56 +0300
commitb10841c98c8980ee50cc1e90640b04c935a24285 (patch)
tree21c5dee4a3dee2cf92eab1ad648d29d06ab95a7c /tools/perf/scripts/python/event_analyzing_sample.py
parent5cb03d63420bcf533111d30690141a5b28c172fa (diff)
downloadlinux-b10841c98c8980ee50cc1e90640b04c935a24285.tar.xz
fs/io_uring: Prioritise checking faster conditions first in io_write
This commit reorders the conditions in a branch in io_write. The reorder to check 'ret2 == -EAGAIN' first as checking '(req->ctx->flags & IORING_SETUP_IOPOLL)' will likely be more expensive due to 2x memory derefences. Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com> Link: https://lore.kernel.org/r/20211017013229.4124279-1-goldstein.w.n@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions