summaryrefslogtreecommitdiff
path: root/fs/io_uring.c
diff options
context:
space:
mode:
authorStefan Bühler <source@stbuehler.de>2019-04-24 23:54:19 +0200
committerJens Axboe <axboe@kernel.dk>2019-04-30 09:40:02 -0600
commit9e4c15a3939448d2ea9b9bf59561183bbe3fdc49 (patch)
tree0398c86af28cbb6961ffd48ac458552e25f6be0f /fs/io_uring.c
parent115e12e58dbc055e98c965e3255aed7b20214f95 (diff)
io_uring: remove unnecessary barrier after updating SQ head
There is no operation afterwards to order with. Signed-off-by: Stefan Bühler <source@stbuehler.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io_uring.c')
-rw-r--r--fs/io_uring.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/io_uring.c b/fs/io_uring.c
index 3671a654a146..d3c57ee233fe 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -1798,12 +1798,6 @@ static void io_commit_sqring(struct io_ring_ctx *ctx)
* write new data to them.
*/
smp_store_release(&ring->r.head, ctx->cached_sq_head);
-
- /*
- * write side barrier of head update, app has read side. See
- * comment at the top of this file
- */
- smp_wmb();
}
}