axboe / liburing

Library providing helpers for the Linux kernel io_uring support
MIT License
2.7k stars 393 forks source link

Remove barrier in _io_uring_get_sqe #1131

Closed MikuChan03 closed 2 months ago

MikuChan03 commented 2 months ago

The side effects from the last if statement will only be committed after sq->khead is read, requiring no barrier.

Signed-off-by: Stefan Berzl stefanberzl@gmail.com