lkml.org 
[lkml]   [2017]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH RFC tip/core/rcu 0/15] Remove to-be-unneeded smp_read_barrier_depends()
    On Wed, Oct 11, 2017 at 01:21:03PM +0100, David Howells wrote:
    > Paul E. McKenney <paulmck@linux.vnet.ibm.com> wrote:
    >
    > > Will Deacon has proposed adding smp_read_barrier_depends() to READ_ONCE(),
    > > which would mean that quite a few instances of smp_read_barrier_depends()
    > > would become redundant.
    >
    > It's not clear from you description where the barrier is added in relation to
    > the read: before, after or both?

    After, similar to lockless_dereference(). Of course, there is not
    really a barrier except for on Alpha.

    Thanx, Paul

    \
     
     \ /
      Last update: 2017-10-11 14:57    [W:4.062 / U:0.424 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site