diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2020-07-30 18:43:50 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-30 11:42:21 -0600 |
commit | 01cec8c18f5ad9c27eee9f21439072832181039e (patch) | |
tree | 5671fb2c3e87266395efd49695e7af7456ac3aa1 /fs/file_table.c | |
parent | 4693014340808e7f099e302c1dc40e9d79ff7667 (diff) | |
download | lwn-01cec8c18f5ad9c27eee9f21439072832181039e.tar.gz lwn-01cec8c18f5ad9c27eee9f21439072832181039e.zip |
io_uring: get rid of atomic FAA for cq_timeouts
If ->cq_timeouts modifications are done under ->completion_lock, we
don't really nee any fetch-and-add and other complex atomics. Replace it
with non-atomic FAA, that saves an implicit full memory barrier.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions