aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-09-24 21:59:57 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-19 05:49:53 -0600
commit2a56a9bd64dbdff4fe5cbe00b20014da07694a78 (patch)
tree8b88d171b8ba8e2fa791465b5c15400d6dd4d863 /tools/perf/scripts/python/stackcollapse.py
parentio_uring: deduplicate io_queue_sqe() call sites (diff)
downloadlinux-dev-2a56a9bd64dbdff4fe5cbe00b20014da07694a78.tar.xz
linux-dev-2a56a9bd64dbdff4fe5cbe00b20014da07694a78.zip
io_uring: remove drain_active check from hot path
req->ctx->active_drain is a bit too expensive, partially because of two dereferences. Do a trick, if we see it set in io_init_req(), set REQ_F_FORCE_ASYNC and it automatically goes through a slower path where we can catch it. It's nearly free to do in io_init_req() because there is already ->restricted check and it's in the same byte of a bitmask. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/d7e7ddc63c15e8a300833132abb3eb8fd3918aef.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