diff options
author | 2021-10-14 16:10:13 +0100 | |
---|---|---|
committer | 2021-10-19 05:49:55 -0600 | |
commit | f80a50a632d6f5c64729563892b0deb95d563f6d (patch) | |
tree | ec3932c6b5d075881254f649fcf05fdd05d59ba7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | io_uring: consistent typing for issue_flags (diff) | |
download | wireguard-linux-f80a50a632d6f5c64729563892b0deb95d563f6d.tar.xz wireguard-linux-f80a50a632d6f5c64729563892b0deb95d563f6d.zip |
io_uring: prioritise read success path over fails
Rearrange io_read return handling so first we expect it completing
successfully and only then checking for errors, which is a colder path.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/c91c7c2da11815ec8b04b5d872f60dc4cde662c5.1634144845.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