Re: [PATCH 09/16] percpu: Replace smp_read_barrier_depends() with lockless_dereference()

From: Paul E. McKenney
Date: Sun Nov 16 2014 - 23:52:25 EST


On Fri, Nov 14, 2014 at 08:14:48AM -0500, Tejun Heo wrote:
> On Thu, Nov 13, 2014 at 02:24:15PM -0500, Pranith Kumar wrote:
> > Recently lockless_dereference() was added which can be used in place of
> > hard-coding smp_read_barrier_depends(). The following PATCH makes the change.
> >
> > Signed-off-by: Pranith Kumar <bobby.prani@xxxxxxxxx>
>
> How should this be routed? There's a pending change on the same
> region of code and if this patch is routed outside percpu tree it'd
> cause a conflict and I can't route this as lockless_dereference()
> isn't in the mainline yet. Maybe expose a git branch which contaisn
> lockless_dereference() so that percpu can pull it in?

Actually, lockless_dereference() is now in mainline, if that makes it
easier.

Thanx, Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/