diff options
author | 2021-06-26 21:40:47 +0100 | |
---|---|---|
committer | 2021-06-30 14:15:40 -0600 | |
commit | 4cfb25bf8877c947e5ae4875e387babe87e12afa (patch) | |
tree | 4ccc1d88717996ae8c74f02c706e9afe6451b809 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: remove not needed PF_EXITING check (diff) | |
download | linux-dev-4cfb25bf8877c947e5ae4875e387babe87e12afa.tar.xz linux-dev-4cfb25bf8877c947e5ae4875e387babe87e12afa.zip |
io_uring: optimise hot path restricted checks
Move likely/unlikely from io_check_restriction() to specifically
ctx->restricted check, because doesn't do what it supposed to and make
the common path take an extra jump.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/22bf70d0a543dfc935d7276bdc73081784e30698.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