diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-06-26 21:40:44 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-06-30 14:15:39 -0600 |
commit | b2d9c3da77115b5172749dec20312651e67e0adf (patch) | |
tree | a17d4a5bef99d401f3dba9fe6d1c2869e5774d51 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 59b735aeeb0f23a760bc21f1c5a1ab6c79e9fe0e (diff) |
io_uring: refactor io_arm_poll_handler()
gcc 11 goes a weird path and duplicates most of io_arm_poll_handler()
for READ and WRITE cases. Help it and move all pollin vs pollout
specific bits under a single if-else, so there is no temptation for this
kind of unfolding.
before vs after:
text data bss dec hex filename
85362 12650 8 98020 17ee4 ./fs/io_uring.o
85186 12650 8 97844 17e34 ./fs/io_uring.o
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1deea0037293a922a0358e2958384b2e42437885.1624739600.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions