Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752705AbdLEPIp (ORCPT ); Tue, 5 Dec 2017 10:08:45 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:45042 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752500AbdLEPIm (ORCPT ); Tue, 5 Dec 2017 10:08:42 -0500 X-Google-Smtp-Source: AGs4zMaiNWi5wk99hpVO5YadXjYjvXfQeW/fRKsI3fOPVpHyiiN5CZc05EexThVYykTb+SqXnGnHjQ== Date: Tue, 5 Dec 2017 08:08:32 -0700 From: Jason Gunthorpe To: "Paul E. McKenney" , Dennis Dalessandro Cc: linux-kernel@vger.kernel.org, mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, Doug Ledford , Richard Henderson , Ivan Kokshaysky , Matt Turner , Michael Cree , Andrea Parri , linux-rdma@vger.kernel.org, linux-alpha@vger.kernel.org Subject: Re: [PATCH tip/core/rcu 16/21] drivers/infiniband: Remove now-redundant smp_read_barrier_depends() Message-ID: <20171205150832.GA27409@ziepe.ca> References: <20171201195053.GA23494@linux.vnet.ibm.com> <1512157876-24665-16-git-send-email-paulmck@linux.vnet.ibm.com> <20171202001109.GQ7754@ziepe.ca> <20171202010851.GL7829@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171202010851.GL7829@linux.vnet.ibm.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1608 Lines: 35 > commit c389c98ec5f4a7aa4c36853e89801eb5ea81870e > Author: Paul E. McKenney > 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 > Cc: Doug Ledford > Cc: Jason Gunthorpe > Cc: Richard Henderson > Cc: Ivan Kokshaysky > Cc: Matt Turner > Cc: Michael Cree > Cc: Andrea Parri > Cc: > Cc: > [ 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