Re: [PATCH tip/core/rcu 16/21] drivers/infiniband: Remove now-redundant smp_read_barrier_depends()

From: Paul E. McKenney
Date: Tue Dec 05 2017 - 15:06:25 EST


On Tue, Dec 05, 2017 at 08:08:32AM -0700, Jason Gunthorpe wrote:
> > commit c389c98ec5f4a7aa4c36853e89801eb5ea81870e
> > Author: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> > Date: Mon Nov 27 09:04:22 2017 -0800
> >
> > drivers/infiniband: Remove now-redundant smp_read_barrier_depends()
> >
> > The smp_read_barrier_depends() does nothing at all except on DEC Alpha,
> > and no current DEC Alpha systems use Infiniband:
> >
> > lkml.kernel.org/r/20171023085921.jwbntptn6ictbnvj@tower
> >
> > This commit therefore makes Infiniband depend on !ALPHA and removes
> > the now-ineffective invocations of smp_read_barrier_depends() from
> > the InfiniBand driver.
> >
> > Please note that this patch should not be construed as my saying that
> > InfiniBand's memory ordering is correct, but rather that this patch does
> > not in any way affect InfiniBand's correctness. In other words, the
> > result of applying this patch is bug-for-bug compatible with the original.
> >
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> > Cc: Doug Ledford <dledford@xxxxxxxxxx>
> > Cc: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> > Cc: Richard Henderson <rth@xxxxxxxxxxx>
> > Cc: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx>
> > Cc: Matt Turner <mattst88@xxxxxxxxx>
> > Cc: Michael Cree <mcree@xxxxxxxxxxxx>
> > Cc: Andrea Parri <parri.andrea@xxxxxxxxx>
> > Cc: <linux-rdma@xxxxxxxxxxxxxxx>
> > Cc: <linux-alpha@xxxxxxxxxxxxxxx>
> > [ paulmck: Removed drivers/dma/ioat/dma.c per Jason Gunthorpe's feedback. ]
>
> Let me know if you want this patch to flow through the rdma tree..
>
> Acked-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>

I applied your ack, thank you!

Your choice as to what tree it flows through. By default, and if all
goes well, I will push this series through -rcu and -tip during the next
merge window.

Thanx, Paul

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