summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-10-14 18:10:14 +0300
committerJens Axboe <axboe@kernel.dk>2021-10-19 14:49:55 +0300
commit258f3a7f84d11ce1d6cb1f60fe524bb37f7c1019 (patch)
treeffae56412c1b947b3e96ed20eefbc6711e365c05 /tools/perf/scripts/python/event_analyzing_sample.py
parentf80a50a632d6f5c64729563892b0deb95d563f6d (diff)
downloadlinux-258f3a7f84d11ce1d6cb1f60fe524bb37f7c1019.tar.xz
io_uring: optimise rw comletion handlers
Don't override req->result in io_complete_rw_iopoll() when it's already of the same value, we have an if just above it, so move the assignment there. Also, add one simle unlikely() in __io_complete_rw_common(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/8dfeb4f84026a20172bcf82c05010abe955874ae.1634144845.git.asml.silence@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