]> 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)
commite2b22a9f1c5e3536461e3c19f0fe4d21d19e3f28
tree78492c45930982a9d1fae0ce6eed67c2a92597b1
parent63cd6e00db88f1fde3732c2afdc35c633b01b2e5
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