diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-04-11 01:46:33 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-11 19:30:41 -0600 |
commit | 8d13326e56c1a2b4e3af89843e1376b72a2ae6b7 (patch) | |
tree | 4e9aae8e92815d8a5250727d96511609cd0a8d8f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ff64216423d46396db2ca8b92fc75cc00ee6df4f (diff) |
io_uring: optimise fill_event() by inlining
There are three cases where we much care about performance of
io_cqring_fill_event() -- flushing inline completions, iopoll and
io_req_complete_post(). Inline a hot part of fill_event() into them.
All others are not as important and we don't want to bloat binary for
them, so add a noinline version of the function for all other use
use cases.
nops test(batch=32): 16.932 vs 17.822 KIOPS
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/a11d59424bf4417aca33f5ec21008bb3b0ebd11e.1618101759.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions