]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: adjust smp_rmb inside io_cqring_events
authorJackie Liu <liuyun01@kylinos.cn>
Thu, 16 May 2019 03:46:30 +0000 (11:46 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 May 2019 14:10:25 +0000 (08:10 -0600)
commit8c11f74339177d684e4e249bf88cb1d1c6e48b85
tree78492c45930982a9d1fae0ce6eed67c2a92597b1
parentb205b278820d7b9499cf7d72fd43c23541914619
io_uring: adjust smp_rmb inside io_cqring_events

Whenever smp_rmb is required to use io_cqring_events,
keep smp_rmb inside the function io_cqring_events.

Signed-off-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c