diff options
author | Hao Xu <haoxu@linux.alibaba.com> | 2021-04-21 23:19:11 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-23 08:26:41 -0600 |
commit | 724cb4f9ec905173f32c5bd08fec26abaecc6a1d (patch) | |
tree | 3f45081913cc810132a9b2596a0af98b87d957a3 /tools/perf/scripts/python | |
parent | f2a48dd09b8e933f59570692e1382b81d4fddc49 (diff) |
io_uring: check sqring and iopoll_list before shedule
do this to avoid race below:
userspace kernel
| check sqring and iopoll_list
submit sqe |
check IORING_SQ_NEED_WAKEUP |
(which is not set) | |
| set IORING_SQ_NEED_WAKEUP
wait cqe | schedule(never wakeup again)
Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/1619018351-75883-1-git-send-email-haoxu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions