lkml.org 
[lkml]   [2018]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ptr_ring: Remove now-redundant smp_read_barrier_depends()
From
From: Andrea Parri <parri.andrea@gmail.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@gmail.com>

Ok, if READ_ONCE() does a barrier now, this change makes sense.

Applied to net-next, thank you.

\
 
 \ /
  Last update: 2018-02-19 17:12    [W:0.058 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site