diff options
| author | Noah Goldstein <[email protected]> | 2021-10-16 20:32:29 -0500 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-19 05:49:56 -0600 |
| commit | b10841c98c8980ee50cc1e90640b04c935a24285 (patch) | |
| tree | 21c5dee4a3dee2cf92eab1ad648d29d06ab95a7c /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 5cb03d63420bcf533111d30690141a5b28c172fa (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions