diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-01-05 12:22:28 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-29 23:17:40 +0100 |
commit | 46ae7eef44f6dfd825a3bcfa43392d3ad9836ada (patch) | |
tree | 8861a0baf334affd023c35b160f33d4ccbe66ba2 /samples | |
parent | io_uring: set TASK_RUNNING right after schedule (diff) | |
download | linux-46ae7eef44f6dfd825a3bcfa43392d3ad9836ada.tar.xz linux-46ae7eef44f6dfd825a3bcfa43392d3ad9836ada.zip |
io_uring: optimise non-timeout waiting
Unlike the jiffy scheduling version, schedule_hrtimeout() jumps a few
functions before getting into schedule() even if there is no actual
timeout needed. Some tests showed that it takes up to 1% of CPU cycles.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/89f880574eceee6f4899783377ead234df7b3d04.1672916894.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions