diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-08-09 15:04:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-23 22:07:56 +0300 |
commit | ac177053bb2cb1f3c4c8bf89bce34c3f2c4823a7 (patch) | |
tree | 079686b3fffee0994c6a2d5d210898bb155abb0e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 042b0d85eabb79909ef29063fb45d363cbc0a85d (diff) | |
download | linux-ac177053bb2cb1f3c4c8bf89bce34c3f2c4823a7.tar.xz |
io_uring: inline fixed part of io_file_get()
Optimise io_file_get() with registered files, which is in a hot path,
by inlining parts of the function. Saves a function call, and
inefficiencies of passing arguments, e.g. evaluating
(sqe_flags & IOSQE_FIXED_FILE).
It couldn't have been done before as compilers were refusing to inline
it because of the function size.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/52115cd6ce28f33bd0923149c0e6cb611084a0b1.1628471125.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