Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752127AbdLEUG2 (ORCPT ); Tue, 5 Dec 2017 15:06:28 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:46842 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751989AbdLEUGX (ORCPT ); Tue, 5 Dec 2017 15:06:23 -0500 Date: Tue, 5 Dec 2017 12:06:14 -0800 From: "Paul E. McKenney" To: Jason Gunthorpe Cc: Dennis Dalessandro , 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() Reply-To: paulmck@linux.vnet.ibm.com 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> <20171205150832.GA27409@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171205150832.GA27409@ziepe.ca> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17120520-0040-0000-0000-000003CD3C9C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008155; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000243; SDB=6.00955915; UDB=6.00483165; IPR=6.00735953; BA=6.00005729; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00018366; XFM=3.00000015; UTC=2017-12-05 20:06:20 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17120520-0041-0000-0000-000007C273BE Message-Id: <20171205200614.GQ7829@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-05_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=18 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1712050287 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1953 Lines: 44 On Tue, Dec 05, 2017 at 08:08:32AM -0700, Jason Gunthorpe wrote: > > 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 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