[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180219.111138.1929929854473154523.davem@davemloft.net>
Date: Mon, 19 Feb 2018 11:11:38 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: parri.andrea@...il.com
Cc: linux-kernel@...r.kernel.org, mst@...hat.com, jasowang@...hat.com,
john.fastabend@...il.com, edumazet@...gle.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] ptr_ring: Remove now-redundant
smp_read_barrier_depends()
From: Andrea Parri <parri.andrea@...il.com>
Date: Fri, 16 Feb 2018 12:06:13 +0100
> Because READ_ONCE() now implies smp_read_barrier_depends(), the
> smp_read_barrier_depends() in __ptr_ring_consume() is redundant;
> this commit removes it and updates the comments.
>
> Signed-off-by: Andrea Parri <parri.andrea@...il.com>
Ok, if READ_ONCE() does a barrier now, this change makes sense.
Applied to net-next, thank you.
Powered by blists - more mailing lists