projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
115e12e
)
io_uring: remove unnecessary barrier after updating SQ head
author
Stefan Bühler
<source@stbuehler.de>
Wed, 24 Apr 2019 21:54:19 +0000
(23:54 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 30 Apr 2019 15:40:02 +0000
(09:40 -0600)
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>
fs/io_uring.c
patch
|
blob
|
history
diff --git
a/fs/io_uring.c
b/fs/io_uring.c
index 3671a654a146970c9063fb6abd883e284e052752..d3c57ee233fe78d5f64e600a0e5c8019306b5292 100644
(file)
--- 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();
}
}