OSDN Git Service

io_uring: remove unnecessary barrier after unsetting IORING_SQ_NEED_WAKEUP
authorStefan Bühler <source@stbuehler.de>
Wed, 24 Apr 2019 21:54:22 +0000 (23:54 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 30 Apr 2019 15:40:02 +0000 (09:40 -0600)
commit62977281a6384d3904c02272a638cc3ac3bac54d
treeab763641f1383af43668fd3d501fd606e90cd4ab
parentb841f19524a16cd93a39f9306191f85c549a2bc2
io_uring: remove unnecessary barrier after unsetting IORING_SQ_NEED_WAKEUP

There is no operation to order with afterwards, and removing the flag is
not critical in any way.

There will always be a "race condition" where the application will
trigger IORING_ENTER_SQ_WAKEUP when it isn't actually needed.

Signed-off-by: Stefan Bühler <source@stbuehler.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c