Skip to content

Commit 9e4c15a

Browse files
stbuehleraxboe
authored andcommitted
io_uring: remove unnecessary barrier after updating SQ head
There is no operation afterwards to order with. Signed-off-by: Stefan Bühler <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 115e12e commit 9e4c15a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

fs/io_uring.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1798,12 +1798,6 @@ static void io_commit_sqring(struct io_ring_ctx *ctx)
17981798
* write new data to them.
17991799
*/
18001800
smp_store_release(&ring->r.head, ctx->cached_sq_head);
1801-
1802-
/*
1803-
* write side barrier of head update, app has read side. See
1804-
* comment at the top of this file
1805-
*/
1806-
smp_wmb();
18071801
}
18081802
}
18091803

0 commit comments

Comments
 (0)