summaryrefslogtreecommitdiff
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2020-07-30 18:43:50 +0300
committerJens Axboe <axboe@kernel.dk>2020-07-30 11:42:21 -0600
commit01cec8c18f5ad9c27eee9f21439072832181039e (patch)
tree5671fb2c3e87266395efd49695e7af7456ac3aa1 /fs/file_table.c
parent4693014340808e7f099e302c1dc40e9d79ff7667 (diff)
downloadlwn-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