diff options
author | Hao Xu <[email protected]> | 2021-04-21 23:19:11 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-04-23 08:26:41 -0600 |
commit | 724cb4f9ec905173f32c5bd08fec26abaecc6a1d (patch) | |
tree | 3f45081913cc810132a9b2596a0af98b87d957a3 /tools/perf/scripts/python/export-to-sqlite.py | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions