diff options
| author | Pavel Begunkov <[email protected]> | 2019-11-21 18:24:56 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-11-26 02:56:10 +0000 |
| commit | 9835d6fafba58e6d9386a6d5af800789bdb52e5b (patch) | |
| tree | 1ff0d914ab1d5b612ff899e987eb16d7ffd3cfca /tools/perf/scripts/python/sctop.py | |
| parent | io_uring: rename __io_submit_sqe() (diff) | |
| download | kernel-9835d6fafba58e6d9386a6d5af800789bdb52e5b.tar.gz kernel-9835d6fafba58e6d9386a6d5af800789bdb52e5b.zip | |
io_uring: add likely/unlikely in io_get_sqring()
The number of SQEs to submit is specified by a user, so io_get_sqring()
in most of the cases succeeds. Hint compilers about that.
Checking ASM genereted by gcc 9.2.0 for x64, there is one branch
misprediction.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
