aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-09-24 22:00:00 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-19 05:49:54 -0600
commitd9f9d2842c9156470b3f1d3dafe5684a3c036366 (patch)
treedd66b2e6dc1d800748e6b1655ff6739968528256 /tools/perf/scripts/python/stackcollapse.py
parentio_uring: inline hot path of __io_queue_sqe() (diff)
downloadlinux-dev-d9f9d2842c9156470b3f1d3dafe5684a3c036366.tar.xz
linux-dev-d9f9d2842c9156470b3f1d3dafe5684a3c036366.zip
io_uring: reshuffle queue_sqe completion handling
If a request completed inline the result should only be zero, it's a grave error otherwise. So, when we see REQ_F_COMPLETE_INLINE it's not even necessary to check the return code, and the flag check can be moved earlier. It's one "if" less for inline completions, and same two checks for it normally completing (ret == 0). Those are two cases we care about the most. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/ebd4e397a9c26d96c99b24447acc309741041a83.1632516769.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions