t/io_uring: get rid of useless read barriers
authorJens Axboe <axboe@kernel.dk>
Wed, 28 Sep 2022 13:28:58 +0000 (07:28 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Sep 2022 14:06:52 +0000 (08:06 -0600)
commitc5f0a205e9bf205d71ed015aa2be0b9e24b0e756
tree7a304c35d79ba4d12a169e89fe0f1c93629cc2d5
parent6112c0f5a86c6b437e7158ab40a6e9384ce95e85
t/io_uring: get rid of useless read barriers

We don't need a read barrier when we have acquire semantics on reading
the CQ ring tail.

We also don't need acquire semantics on the SQ ring head, unless we're
using SQPOLL. A syscall transition will have happened for !SQPOLL.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c