Received: by 10.223.185.116 with SMTP id b49csp1043804wrg; Wed, 21 Feb 2018 11:06:02 -0800 (PST) X-Google-Smtp-Source: AH8x2247OH1zhpL8pFUqfhvomwWAmZ2U//2UAnD3JjYgpbDdqAJUjrQ1q/mvBo2JDAiyeNvD1wRX X-Received: by 10.98.210.70 with SMTP id c67mr4236435pfg.164.1519239961930; Wed, 21 Feb 2018 11:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239961; cv=none; d=google.com; s=arc-20160816; b=ZIw4xbTmxx+1RnZMUhSfHFf3daa/SZunKSv61mGV4oBMhxXGrpWHUth9r2hQcez7xF icO8tCqrwGVjD++Hzj4gyn4uvNG2ReRne4kRmar17e0j5TSQnsyrryNaZ4StIiwL8ZFB MZG4F8W4wsxZMe5LrAEZE/+yesfJMH5vMnw8N0zENlYbQbIseLSUEk1wdhgf+23kQJ4L iUNdUB0qNvh26jxqKn5pN3pSr7+4r7/gAygVdxdVdqk1JNlv+QwEdIBJsUBQQsVKT7B3 CwV0RkqzzbicAu/Z4WVHtMwZhwDAZvEwh/wOCsGDdAOpxpS7fyXssyMQL6kwV8NwzIRf uHkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=m892vs3S6Z6+qCvvXsyU/AFIh8Rm8h/7lTPQIzyvPkE=; b=EmeTQ/2EZWx48yy9YIsyAKlobHCHVFrrXszJptwYy/absQPDPDUE10tYWB2UbWlg3n UDgc8rO26qN0GXvJp84ZUWBkXKGGOsb8cPvNovl4h2mUTHqfIxfZluxSJErKnaPkw1MB joCOUak8a6dLvCgbZNjzSJrpztavPaXDGTlO34PGI3eGbr4D/n2Z2XyAJqnDVljnXvBH lpACH4G7AC5xOXWnGg/Lw6X4dP0JGl7O1gIkcoNYazSTKNx3CdfrQCMGQDkM3K29o/1r zNrayaYMe9H7VgGESZi19nNxqA3YwzbTNeDk+4XWJZ6x96LPDxgY8bdPkgAGNgQnwKr7 kipg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=if5tiGUV; 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 33-v6si2138331plu.426.2018.02.21.11.05.45; Wed, 21 Feb 2018 11:06:01 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=if5tiGUV; 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 S1754863AbeBUQwN (ORCPT + 99 others); Wed, 21 Feb 2018 11:52:13 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:41659 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754404AbeBUQvr (ORCPT ); Wed, 21 Feb 2018 11:51:47 -0500 Received: by mail-wr0-f194.google.com with SMTP id f14so6353742wre.8 for ; Wed, 21 Feb 2018 08:51:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=m892vs3S6Z6+qCvvXsyU/AFIh8Rm8h/7lTPQIzyvPkE=; b=if5tiGUVoBf7tABkWNRM4HLyAYL29Cqg39w/+7KDm+Am73nGEbqJwAB5IsgFogElkB OPIEIpUvE7ni0J1XLRWEWA1hvVzaTfAq5NS8KXCGAON6T8mICThB6V63LQfaSXwTAiWJ tn+OMYM5Uht7GaCQN09lY20BrGmtVwaWIvBlf2+yHtXw6lGuXbttof8QJ3yLD+SF2Rob cwez2WUhosIoq+doGxHNzYD+S+u65ln4pNONluufWyapsrsC69Pm8IlZeUsaqA1k/rlU dUhPm1NuAday2QvToYTqcD9L6RvlncxrSTkdvP1lsFX1MkDyzfdg5F/YiogFNsci3pwV M4nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=m892vs3S6Z6+qCvvXsyU/AFIh8Rm8h/7lTPQIzyvPkE=; b=FjG+6BX4NIzw0SduQW4//1YvJ8XK5lz+VOsJfO2vXreacmfR4btHqlmXc+faOcc0C4 Extj1q17mEKicrReySi1CQfNNCM/hlx47yG4JNG5nuYT+rmqPGSPQwXy051k1q01ui6D u6ADdaXM9QzE4uMUKQqf2DHwIVtg/JZdsEA9b1XdBv0jKdf+8AGs58ELQnBa2C5NtlZ4 vVN+epOxjLuyXOjfJy6JGt+QLo5KzFEPum4occs0jUYmS/fOhHYnqwoJA01r/7hvMjGa JDwf8RdZUP8/JJHiLdrt/2NCaLuLi5/tbzdSJM0BijhZVp5VdIJtHdkkwmgAY1WWSQPV D/4Q== X-Gm-Message-State: APf1xPCyOLldLF6l2Fija6PNt1NBDpsUu2VWluDkioAvbnjm8eInbxkd pYMif0XcT5MpmhIcFJpSJlg= X-Received: by 10.28.107.25 with SMTP id g25mr2425390wmc.4.1519231906338; Wed, 21 Feb 2018 08:51:46 -0800 (PST) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id x203sm59119605wmd.11.2018.02.21.08.51.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Feb 2018 08:51:45 -0800 (PST) Date: Wed, 21 Feb 2018 17:51:43 +0100 From: Ingo Molnar To: "Paul E. McKenney" 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 Message-ID: <20180221165143.gf5hhhrddediubdx@gmail.com> References: <20180217003959.GR3617@linux.vnet.ibm.com> <20180221160602.GD3617@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180221160602.GD3617@linux.vnet.ibm.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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! Thanks, Ingo