Re: [PATCH 17/19] locking/barriers: Kill lockless_dereference

From: Will Deacon
Date: Tue Oct 24 2017 - 06:24:11 EST


On Tue, Oct 24, 2017 at 11:54:28AM +0200, Ingo Molnar wrote:
> * Will Deacon <will.deacon@xxxxxxx> wrote:
> > On Tue, Oct 24, 2017 at 11:31:04AM +0200, Ingo Molnar wrote:
> > > Also, could we please split this into three patches:
> > >
> > > #1: Add smp_read_barrier_depends() to READ_ONCE()
> > > #2: Convert all lockless_dereference() users to READ_ONCE()
> > > #3: Remove the now unused lockless_dereference() API
> > >
> > > to make it easier to analyze if bisected to, should any problems arise?
> >
> > Sure, I'll do that now.
>
> Thanks!

https://lkml.org/lkml/2017/10/24/323

Will