Received: by 10.223.185.116 with SMTP id b49csp791962wrg; Wed, 21 Feb 2018 07:01:48 -0800 (PST) X-Google-Smtp-Source: AH8x226p6+V/cGLb4BCwVPckg58qiR+ao3z4/R1T0YhXJHXsKLdF8tuX26muXj5HNcGwpN0MDJhQ X-Received: by 10.101.102.73 with SMTP id z9mr2948563pgv.448.1519225308484; Wed, 21 Feb 2018 07:01:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519225308; cv=none; d=google.com; s=arc-20160816; b=iIydTDjwpX913C0FbNehoNtznHYtPMvfzXBkwbczobZMByKRh/H4aUsA8NJeMAV8KX FrkvdZueIW0bg92TWyxCP/mTpNFuznYEMHX/jJBeDeqsV95NKJeb8vFWbCeEyaXfTcUi hqHv4EsFFHjPioRvvRfC6F1n1oE58qknMkB63/MvrO/ErG4SvxOGEK2OVBb66Aamk9QR ByOgF8LE31+ePgQ6j7039bdiSBdk6V36ZCQPPvdomnTX/5guTiDB2lVffTlFOGMci98Y HasTV0e0EA3lNagcVzNEFXqbGC2AL4LY/zZhxRgFxtls1MuhMCuaHxNMEFQjnpmcSBZl 9qYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date:arc-authentication-results; bh=xMUeS37KYqC8rsyGLy3kLNnYG+/9RRQPEBfs5g9uzZs=; b=KoHITthuH9i8NLJTjL6b2zn3hNH0uWieAXl/l57t/cku8WKplDjfrw4MMHxvi9XBql nMOt07wK67lUdBi8ANbqS+dY0sFuyZUpXI6hQq1nm5b+7wJLEvf+jNgjWSGEbM6HBtgI kz48mH+ipySpPhhQYt/F2ZxRTXWB9lgLBU0SdGNkXrR66D50RyhcVT+76mnOOxTnInRv X3g1X2NcLtYDIMjMAWOqHKuLSwRcn/j1I8quikfOyUHRSzJNyblKlyH3czQkoHHr3bUu ALhpxlYnkKfCm//EYR9YHs5jiFCAdz6NZ9ZTAV3hP4qo7XGlsXhvog+X9ug1K1E03Qp7 vqDA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9-v6si4115029pll.554.2018.02.21.07.01.27; Wed, 21 Feb 2018 07:01:48 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938094AbeBUPAX (ORCPT + 99 others); Wed, 21 Feb 2018 10:00:23 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:32962 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S933065AbeBUPAV (ORCPT ); Wed, 21 Feb 2018 10:00:21 -0500 Received: (qmail 2172 invoked by uid 2102); 21 Feb 2018 10:00:20 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 21 Feb 2018 10:00:20 -0500 Date: Wed, 21 Feb 2018 10:00:20 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Paul E. McKenney" cc: Andrea Parri , Akira Yokosawa , Kernel development list , , Will Deacon , , , , , Jade Alglave , Luc Maranget , Patrick Bellasi Subject: Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference In-Reply-To: <20180217003959.GR3617@linux.vnet.ibm.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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...) Alan