summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-09-08 16:40:52 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-19 05:49:52 -0600
commitc450178d9be9dc44327f3b526f82c36e4c5d362b (patch)
tree0afe93d2fd482987d6dd2fb762808e9d0e02d256 /tools/perf/scripts/python
parentd81499bfcd471e6b920683f8fcf06ce65f84286b (diff)
downloadlinux-c450178d9be9dc44327f3b526f82c36e4c5d362b.tar.gz
linux-c450178d9be9dc44327f3b526f82c36e4c5d362b.zip
io_uring: dedup CQE flushing non-empty checks
We don't do io_submit_flush_completions() when there is no requests enqueued, and every single caller checks for it. Hide that check into the function not forgetting about inlining. That will make it much easier for changing the empty check condition in the future. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/d7ff8cef5da1b38e8ea648f5aad9a315ddfc7b57.1631115443.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions