]> 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)
commitb1eb72b640afdabc106d3d14bb968131f3cc8213
tree999a58292172b6ea599d7617c8078eac0b416074
parent8c11f74339177d684e4e249bf88cb1d1c6e48b85
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