Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2190540yba; Mon, 15 Apr 2019 06:51:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqwVgxjkRzl2ujSzK/xEXLOgE4hP7gw0bR1mJzoPZHpb/CAS3MX9Zq5jcjHZfreYn12D0UoH X-Received: by 2002:a62:e80f:: with SMTP id c15mr75407159pfi.93.1555336263319; Mon, 15 Apr 2019 06:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555336263; cv=none; d=google.com; s=arc-20160816; b=MG9hxe7V5wAZRNfCpTxypR6cNekFqFt4J+NWhSuOKJrQZxEHcoSSTnsWlQXEdmEh2k cb2bwhBx3mkoUad0HijSnMN5ezMPXjBWwi5P3ab/iGSecdRA98sOV/vXT6B1Gh8o8USv qbpm8Pie0azDzaNv8CyqeqR8/pJZ2OkgsfUL2Q6f90KZEBcyg7He4g0TVqnekuIcRlI2 /bIoxyHDPFDC2IThthFdPNxgYlB2+Nfz4awnkdZpDq7a0Jr4tosiBFNuiU3hONduZewq zwQ7p2XBT65UIvhVpTFU3nHnDIgRYKpHYvA1YGLnO2Jc+UqjrZx7LxewGwntuTCdtu5h HHBQ== 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; bh=Hdxaa7UR6N1BZj8YeDp9RxfUukQ6duPns58Iws0EiV0=; b=ZZGD3bjix1HxdQF1Ea08q0NOkoHTUMUil/yw7ZayOQBI05ELx+C6Eq6t44jMdx9Yie 9twxA6QCbPrytGk+EqBSadpZC33hbWPNufInpC5focHs6wW+axljDq89bXvQsbbN4In0 yJgfvVYFH9WlbUml7KmpuNAvHJLRHHASMasIs9Pe6/UHZfRbnN8TiGA3kQbMaXvz6Gym oTJPhtoJgdAiqoa5zixE5rCoV1CMJYjsHgXN4s4nhaOysggKVAJcYK3it89hq6rFL8WD e+Ip2emqlHmC086kWv9J7XJ/3+cLCLCqIS49v3d5aLK3VsARKTWof1iWXvizchAjN5iH v1CA== 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 25si39728092pgx.421.2019.04.15.06.50.46; Mon, 15 Apr 2019 06:51:03 -0700 (PDT) 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 S1727566AbfDONuF (ORCPT + 99 others); Mon, 15 Apr 2019 09:50:05 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:38746 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1727179AbfDONuE (ORCPT ); Mon, 15 Apr 2019 09:50:04 -0400 Received: (qmail 1649 invoked by uid 2102); 15 Apr 2019 09:50:03 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 15 Apr 2019 09:50:03 -0400 Date: Mon, 15 Apr 2019 09:50:03 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Paul E. McKenney" cc: Andrea Parri , LKMM Maintainers -- Akira Yokosawa , Boqun Feng , Daniel Lustig , David Howells , Jade Alglave , Luc Maranget , Nicholas Piggin , Peter Zijlstra , Will Deacon , Daniel Kroening , Kernel development list Subject: Re: Adding plain accesses and detecting data races in the LKMM In-Reply-To: <20190415133535.GU14111@linux.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 Mon, 15 Apr 2019, Paul E. McKenney wrote: > Another question is "should the kernel permit smp_mb__{before,after}*() > anywhere other than immediately before or after the primitive being > strengthened?" > > Thoughts? How would the kernel forbid other constructions? Alan