Revision 0d7bae69c574c5f25802f8a71252e7d66933a3ab authored by Stefan Bühler on 19 April 2019, 09:57:45 UTC, committed by Jens Axboe on 22 April 2019, 17:00:56 UTC
Reading the SQ tail needs to come after setting IORING_SQ_NEED_WAKEUP in flags; there is no cheap barrier for ordering a store before a load, a full memory barrier is required. Userspace needs a full memory barrier between updating SQ tail and checking for the IORING_SQ_NEED_WAKEUP too. Signed-off-by: Stefan Bühler <source@stbuehler.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent e523a29