summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-div.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-10-18 10:17:40 +0100
committerJens Axboe <axboe@kernel.dk>2020-10-19 13:29:29 -0600
commit2c3bac6dd6c7af4cb38d1a67cafd29e96ba1fea7 (patch)
tree07607f8885f070cb722cad8c7445de989ff7ad23 /lib/mpi/mpi-div.c
parentd148ca4b07d05656f3b25b662f2283c4d98e7299 (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 <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-div.c')
0 files changed, 0 insertions, 0 deletions