diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-01-04 20:36:36 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-01-04 15:22:29 -0700 |
commit | 6c503150ae33ee19036255cfda0998463613352c (patch) | |
tree | 7e2bd834d7cb63dc978ac55c732fa2563caf8db3 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 81b6d05ccad4f3d8a9dfb091fb46ad6978ee40e4 (diff) |
io_uring: patch up IOPOLL overflow_flush sync
IOPOLL skips completion locking but keeps it under uring_lock, thus
io_cqring_overflow_flush() and so io_cqring_events() need additional
locking with uring_lock in some cases for IOPOLL.
Remove __io_cqring_overflow_flush() from io_cqring_events(), introduce a
wrapper around flush doing needed synchronisation and call it by hand.
Cc: stable@vger.kernel.org # 5.5+
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