diff options
author | Pavel Begunkov <[email protected]> | 2020-10-18 10:17:40 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-10-19 13:29:29 -0600 |
commit | 2c3bac6dd6c7af4cb38d1a67cafd29e96ba1fea7 (patch) | |
tree | 07607f8885f070cb722cad8c7445de989ff7ad23 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d148ca4b07d05656f3b25b662f2283c4d98e7299 (diff) |
io_uring: make cached_cq_overflow non atomic_t
ctx->cached_cq_overflow is changed only under completion_lock. Convert
it from atomic_t to just int, and mark all places when it's read without
lock with READ_ONCE, which guarantees atomicity (relaxed ordering).
Signed-off-by: Pavel Begunkov <[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