diff options
author | Pavel Begunkov <[email protected]> | 2022-04-12 15:09:45 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-04-24 18:02:46 -0600 |
commit | e126391c092014af7ea6786648c9f1d3fce512a3 (patch) | |
tree | 78f3bfbfe8e36ef593d617ee08fccecf1d1200d8 /tools/perf/scripts/python/stackcollapse.py | |
parent | 90e7c35fb89154439a4a604699faf36adbfa871b (diff) |
io_uring: shrink final link flush
All good users should not set IOSQE_IO_*LINK flags for the last request
of a link. io_uring flushes collected links at the end of submission,
but it's not the optimal way and so we don't care too much about it.
Replace io_queue_sqe() call with io_queue_sqe_fallback() as the former
one is inlined and will generate a bunch of extra code. This will also
help compilers with the submission path inlining.
> size ./fs/io_uring.o
text data bss dec hex filename
87265 13734 8 101007 18a8f ./fs/io_uring.o
> size ./fs/io_uring.o
text data bss dec hex filename
87073 13734 8 100815 189cf ./fs/io_uring.o
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/01fb5e417ef49925d544a0b0bae30409845ed2b4.1649771823.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions