Received: by 10.223.185.116 with SMTP id b49csp1036547wrg; Wed, 21 Feb 2018 10:59:11 -0800 (PST) X-Google-Smtp-Source: AH8x226mrJEiu3EOmzWUsiZsdLLogEjaIJb42xliOqiwwjpehTviyPh9jJMjpX4an4RJky5Mnhd7 X-Received: by 10.98.100.131 with SMTP id y125mr4236345pfb.117.1519239551262; Wed, 21 Feb 2018 10:59:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239551; cv=none; d=google.com; s=arc-20160816; b=RbCuz1LTnJZ+rSNmuD8t9RhOrSY3wcUTcT6b+R+Q78n0xwsfUm+qyYoXoRQhQHI+BQ 9cwNq6CTHDl3Dvz7848/3YpuDIPDy3Ou0j1tG78xTGfPfeOOZzMcaXkcIis5BRcb3L9n jh6COwnwEZxiDTFAls3rki1JDG/kbaCyl2q7zCOw1sh8gm7Twqv7lB5Lo8iAMYSrBlVW aUynUDObWxT0Ccf4Ab9kemQXQMlURtQ1HnCWXVdJFk1DtsJxQyQjvUF1TQww6s2IVs2s eTHUSrF0L8StEe2KzeJFJX7r2EVaHFvHVJDAXmE8YSFTSCVStJQGoyHDw+3yUgKERi50 F8Sg== 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=ZFmOeQL88InIJiUDVzdbFcny7vCc3Yc1LOhvmcY5lS4=; b=hEQSeokU8VJElViurIPVQ5IHK2hXXriBh/WkFtxT90VC6l6PBOsdBvly8tbOqJtgo/ 60WxoALKPqKLhfNXu/2u3QQqYuPAWIeVkK6wXJeoOKgGCQVIUsY6U1MuEjEV41dvJ2Ld 6om+CQuSQVFQBSiDjKFYdy3y1bkvCyN5H1IUJHgowEJVM2opqx2EljTF6LezVKmenivu NlLyzQ6RvCA2kZhnoIbJ0AV9XEzqyaAUpdEK8dHro2d3jEhECiYkIAd8W89sOyyR8wp/ //0d28rPB02mICDCd5UzhVt77SG7VewsMCyLyr2oPB47A+swVgBXIZuovOo+VpXnt+NX 7hMw== 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 e190si2926378pfe.4.2018.02.21.10.58.55; Wed, 21 Feb 2018 10:59:11 -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 S938446AbeBUQFw (ORCPT + 99 others); Wed, 21 Feb 2018 11:05:52 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:56078 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932308AbeBUQFt (ORCPT ); Wed, 21 Feb 2018 11:05:49 -0500 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1LG4kE1081177 for ; Wed, 21 Feb 2018 11:05:47 -0500 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g9ay8u7w7-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Feb 2018 11:05:46 -0500 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Feb 2018 11:05:42 -0500 Received: from b01cxnp23032.gho.pok.ibm.com (9.57.198.27) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 21 Feb 2018 11:05:38 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1LG5cj441287682; Wed, 21 Feb 2018 16:05:38 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9BEA9B2046; Wed, 21 Feb 2018 12:07:56 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.85.154.79]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 5BC53B204E; Wed, 21 Feb 2018 12:07:56 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 168E416C1B29; Wed, 21 Feb 2018 08:06:02 -0800 (PST) Date: Wed, 21 Feb 2018 08:06:02 -0800 From: "Paul E. McKenney" To: Alan Stern Cc: Andrea Parri , Akira Yokosawa , Kernel development list , mingo@kernel.org, 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18022116-0008-0000-0000-000002D8DD7B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008570; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000254; SDB=6.00993018; UDB=6.00504541; IPR=6.00772363; MB=3.00019674; MTD=3.00000008; XFM=3.00000015; UTC=2018-02-21 16:05:42 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022116-0009-0000-0000-00003856D1FE Message-Id: <20180221160602.GD3617@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-21_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802210195 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 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. Thanx, Paul