]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: use wait_event_interruptible for cq_wait conditional wait
authorJackie Liu <liuyun01@kylinos.cn>
Thu, 16 May 2019 03:46:31 +0000 (11:46 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 May 2019 14:10:27 +0000 (08:10 -0600)
commit1000c389ebeb70320a482088c6e4e8e1487cc987
tree999a58292172b6ea599d7617c8078eac0b416074
parente2b22a9f1c5e3536461e3c19f0fe4d21d19e3f28
io_uring: use wait_event_interruptible for cq_wait conditional wait

The previous patch has ensured that io_cqring_events contain
smp_rmb memory barriers, Now we can use wait_event_interruptible
to keep the code simple.

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