diff options
| author | Pavel Begunkov <[email protected]> | 2020-04-14 21:39:48 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-04-15 01:16:55 +0000 |
| commit | 22cad1585c6bc6caf2688701004cf2af6865cbe0 (patch) | |
| tree | fe6b0e574f15fd5d6fb27bf009e8bf0020e95023 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | io_uring: only post events in io_poll_remove_all() if we completed some (diff) | |
| download | kernel-22cad1585c6bc6caf2688701004cf2af6865cbe0.tar.gz kernel-22cad1585c6bc6caf2688701004cf2af6865cbe0.zip | |
io_uring: fix cached_sq_head in io_timeout()
io_timeout() can be executed asynchronously by a worker and without
holding ctx->uring_lock
1. using ctx->cached_sq_head there is racy there
2. it should count events from a moment of timeout's submission, but
not execution
Use req->sequence.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
