diff options
author | 2020-07-23 20:57:24 +0800 | |
---|---|---|
committer | 2020-07-24 13:00:46 -0600 | |
commit | 23b3628e45924419399da48c2b3a522b05557c91 (patch) | |
tree | 6fdaf052da6860b677e544bb031184c949c3955a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: batch put_task_struct() (diff) | |
download | wireguard-linux-23b3628e45924419399da48c2b3a522b05557c91.tar.xz wireguard-linux-23b3628e45924419399da48c2b3a522b05557c91.zip |
io_uring: clear IORING_SQ_NEED_WAKEUP after executing task works
In io_sq_thread(), if there are task works to handle, current codes
will skip schedule() and go on polling sq again, but forget to clear
IORING_SQ_NEED_WAKEUP flag, fix this issue. Also add two helpers to
set and clear IORING_SQ_NEED_WAKEUP flag,
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.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