commit | 4cfb25bf8877c947e5ae4875e387babe87e12afa | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Jun 26 21:40:47 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jun 30 14:15:40 2021 -0600 |
tree | 4ccc1d88717996ae8c74f02c706e9afe6451b809 | |
parent | e5dc480d4ed9884274e95c757fa2d2e9cc1047ee [diff] |
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>