From: Stefan Bühler Date: Wed, 24 Apr 2019 21:54:21 +0000 (+0200) Subject: io_uring: remove unnecessary barrier after incrementing dropped counter X-Git-Tag: v5.4-rc1~1153^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b841f19524a16cd93a39f9306191f85c549a2bc2;p=platform%2Fkernel%2Flinux-rpi.git io_uring: remove unnecessary barrier after incrementing dropped counter smp_store_release in io_commit_sqring already orders the store to dropped before the update to SQ head. Signed-off-by: Stefan Bühler Signed-off-by: Jens Axboe --- diff --git a/fs/io_uring.c b/fs/io_uring.c index 662f1c0..2ebc33c 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -1846,8 +1846,6 @@ static bool io_get_sqring(struct io_ring_ctx *ctx, struct sqe_submit *s) /* drop invalid entries */ ctx->cached_sq_head++; ring->dropped++; - /* See comment at the top of this file */ - smp_wmb(); return false; }