Received: by 10.223.185.116 with SMTP id b49csp1050746wrg; Wed, 21 Feb 2018 11:12:45 -0800 (PST) X-Google-Smtp-Source: AH8x226CQ5mPWsm6eaqnqF5tCU9T2/xfxaYvM+Y8VrJEUE7ZiyMsZP6tLal8c5bWj9ifU8Po5u1N X-Received: by 10.99.124.68 with SMTP id l4mr3489473pgn.225.1519240365733; Wed, 21 Feb 2018 11:12:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519240365; cv=none; d=google.com; s=arc-20160816; b=DpTWBeoPpPaFl3+3zdygeaZW78RL3kAxNuhmtGCMzgozgFkXidcAFEbmvNqM7GyTjH URRY3G7Svphr7+C05PDJ/LQh4dzZO2zWLvZljXCbramQ10Sre/DXTNFyddn7oW3WsInA JjsZxvKemoywvn4XfSJoA5HzaGqv6XweGkVT35TnVsx8QiDovAmkQdxDF0HOLh40j+mt VVI9jpXyV124M0j6RB/rKtCDG4zvDvkIH37pxdI0XvTudOcDc1QGPAjtnkyD5eVYXGst FRHsVLb+GJKcYDSmNwhL6sQxp2EeM39pGUhKmPN8SwhlrzgrYoO2yK/550waj5QaEVqw Stxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=y2iMgOOAYEWvT70awhb8GvvlYwF7L8Hjn7mcnueF1ZQ=; b=ohYSqVRrrdKrVJzNI2wJzzOIZTGuJKTfNjT/ySDA6Uj5EXLhbErnOpvL0QV/6BUpfQ asiDlzQmDD41fqfm1og+CyvnZ5+jfgwJFvx2t9Tox6xdRFTopCAU31O9NtR4zxieSoG0 rGoANyjNxRZJPAboIpAnq9cp+ziibjhBtNMTRLTUh26yikiSsUiFj34JdgVZlf4PSDXY o2HnISgblP0q/RXsHEunjJQADtj7hWjeI6k/K/vvuJheh7fGYjWXnvazK5APqIHvN0ge BeSBaCy6U/JIUciLVfSd3Jt+Dr5DbnzN9dFt7qBXsFZml0I8aFevqPsczGcRsVnNjOCM +haw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e12-v6si5503652plo.798.2018.02.21.11.12.31; Wed, 21 Feb 2018 11:12:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938308AbeBURxv (ORCPT + 99 others); Wed, 21 Feb 2018 12:53:51 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39436 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938248AbeBURxs (ORCPT ); Wed, 21 Feb 2018 12:53:48 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1LHrdUC141470 for ; Wed, 21 Feb 2018 12:53:48 -0500 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g9bxucsy2-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Feb 2018 12:53:47 -0500 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Feb 2018 12:53:46 -0500 Received: from b01cxnp23033.gho.pok.ibm.com (9.57.198.28) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 21 Feb 2018 12:53:30 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1LHrTQK48234638; Wed, 21 Feb 2018 17:53:29 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C20A8B204E; Wed, 21 Feb 2018 13:55:47 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.85.154.79]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 84C20B204D; Wed, 21 Feb 2018 13:55:47 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 581D916C1B29; Wed, 21 Feb 2018 09:53:53 -0800 (PST) Date: Wed, 21 Feb 2018 09:53:53 -0800 From: "Paul E. McKenney" To: Ingo Molnar Cc: Alan Stern , Andrea Parri , Akira Yokosawa , Kernel development list , Will Deacon , peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, Jade Alglave , Luc Maranget , Patrick Bellasi Subject: Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference Reply-To: paulmck@linux.vnet.ibm.com References: <20180217003959.GR3617@linux.vnet.ibm.com> <20180221160602.GD3617@linux.vnet.ibm.com> <20180221165143.gf5hhhrddediubdx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180221165143.gf5hhhrddediubdx@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18022117-0048-0000-0000-0000023CFB8D X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008571; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.00993054; UDB=6.00504563; IPR=6.00772398; MB=3.00019675; MTD=3.00000008; XFM=3.00000015; UTC=2018-02-21 17:53:46 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022117-0049-0000-0000-000044354AF7 Message-Id: <20180221175353.GJ3617@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-21_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 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-1802210216 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 21, 2018 at 05:51:43PM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Wed, Feb 21, 2018 at 10:00:20AM -0500, Alan Stern wrote: > > > On Fri, 16 Feb 2018, Paul E. McKenney wrote: > > > > > > > On Fri, Feb 16, 2018 at 05:22:55PM -0500, Alan Stern wrote: > > > > > Since commit 76ebbe78f739 ("locking/barriers: Add implicit > > > > > smp_read_barrier_depends() to READ_ONCE()") was merged for the 4.15 > > > > > kernel, it has not been necessary to use smp_read_barrier_depends(). > > > > > Similarly, commit 59ecbbe7b31c ("locking/barriers: Kill > > > > > lockless_dereference()") removed lockless_dereference() from the > > > > > kernel. > > > > > > > > > > Since these primitives are no longer part of the kernel, they do not > > > > > belong in the Linux Kernel Memory Consistency Model. This patch > > > > > removes them, along with the internal rb-dep relation, and updates the > > > > > revelant documentation. > > > > > > > > > > Signed-off-by: Alan Stern > > > > > > > > I queued this, but would welcome an update that addressed Akira's > > > > feedback as appropriate. > > > > > > Is it too late to send a v2 of this patch? I didn't want to do it > > > before now because the issue raised by Andrea wasn't settled. (Some > > > could claim that it still isn't fully settled...) > > > > Would you be willing to send a delta patch? I can then place it directly > > on top of your original patch, and once it settles out, I can ask Ingo > > if he is willing to update the patch in -tip. > > It would be better to have followup fixes as separate patches. I applied the > current set of fixes/improvements today to help move things along - it's all > advancing very nicely! Will do, and glad you like it! Thanx, Paul