mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 10:00:51 +07:00
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>
This commit is contained in:
parent
115e12e58d
commit
9e4c15a393
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user