diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-10-13 11:43:56 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-17 18:25:42 +0300 |
commit | 368c5481ae7c6a9719c40984faea35480d9f4872 (patch) | |
tree | cfc458c06932434a70277ec75cb1db4f3d0bd778 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 035fbafc7a54b8c7755b3c508b8f3ab6ff3c8d65 (diff) | |
download | linux-368c5481ae7c6a9719c40984faea35480d9f4872.tar.xz |
io_uring: don't set COMP_LOCKED if won't put
__io_kill_linked_timeout() sets REQ_F_COMP_LOCKED for a linked timeout
even if it can't cancel it, e.g. it's already running. It not only races
with io_link_timeout_fn() for ->flags field, but also leaves the flag
set and so io_link_timeout_fn() may find it and decide that it holds the
lock. Hopefully, the second problem is potential.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions