Received: by 10.223.164.202 with SMTP id h10csp635899wrb; Mon, 13 Nov 2017 12:10:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMZC3AW3gsrJK9ZLRbb5HmzR2YT6jDH5sLnfYi6HyC7kNz3zbYXcmZOIlgkQZjWTQTqxhn08 X-Received: by 10.101.73.79 with SMTP id q15mr10119742pgs.236.1510603816509; Mon, 13 Nov 2017 12:10:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510603816; cv=none; d=google.com; s=arc-20160816; b=mta4eJ9DPoeFWVUXe3H1s2CSHC7UANsqIN0rg1N3MspK/n8rg0tH9MD4OmLpNMGvXl +iaUQfw63ofCqhR9Uk/+Kt70wCMOw4dvp/S9ocj/guqqRcz27Zj6/cYnS/AhInw9akUz 4Ny1MwHOqnor+qblikjL0ki/E8uldyTnXQvSA0Z36CdGr5w/rhqUPwA+tfllaZf/rmXY megoPXjNUpSceOB5DGSUJf1fo9jl/orgEsUwCo/Sx2yUWvKBetqCe/8vmSaRPim4Rul6 7OkJNzPQqaLds45sh2otKJVEUAhwHU4SvYMhEIGamQ1OWWkXS7WiDfCIS3s2iGVGGaSc G4dA== 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=SEoTufxoV7clGQBBsG+hdH1YQ18Fb+U4ci6cjfq72CI=; b=jhjBjNjCBNA9K6FeagHT3I8lD2luVTZZswiqeo3Pczsajmy1r4t4INMXRyLxxJFk0Q dgbBBHyATOUbNlfFuFTui3Kbeb66h9pWpY1WpzhC0RWczXCUrSuJm33sPwq2MfTc8Kip oL70K8kJRwmVXYThem4JrRrWGz8TiKeU/HWrat51NNO2STpj4bmOgwM05HytT8MBqxQt CQSyI1EzEfd0hU+dlCbO5BU+s+spurLS0SrpdGL/k1iOqUF03zMFFyfYK+h2KhJeUJVq uJziZgsFVF4+oGumGI7oSr+b5edL/c/X4mC1GnbRLZGJC/HhITaLA+gM0dUI6rEfhr+0 t33A== 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=harvard.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d30si3639423pld.506.2017.11.13.12.09.58; Mon, 13 Nov 2017 12:10:16 -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=harvard.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755262AbdKMUJP (ORCPT + 87 others); Mon, 13 Nov 2017 15:09:15 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:48224 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755221AbdKMUJM (ORCPT ); Mon, 13 Nov 2017 15:09:12 -0500 Received: (qmail 2711 invoked by uid 2102); 13 Nov 2017 15:09:11 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 13 Nov 2017 15:09:11 -0500 Date: Mon, 13 Nov 2017 15:09:11 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Paul E. McKenney" cc: Andrea Parri , Will Deacon , , , , , Jade Alglave , Luc Maranget , Kernel development list , Subject: Re: Prototype patch for Linux-kernel memory model In-Reply-To: <20171113184031.GA26302@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 Mon, 13 Nov 2017, Paul E. McKenney wrote: > Hello! > > Please see below for the git commit corresponding to a prototype > patch for the Linux-kernel memory model. This addresses the feedback > we got at Linux Plumbers Conference: > > 1. There is a Documentation/recipes.txt file giving known-good > useful examples, along with corresponding litmus tests. > > 2. There is a Documentation/explanation.txt file giving an > overview of the memory model and its workings. > > 3. There is a Documentation/references.txt file giving some > background reading. > > I believe that we have something that will be extremely useful and > valuable to novices and experts alike. > > Please note that this version of the memory model does not yet reflect > the changes that make DEC Alpha no longer be a special case because > those changes have not yet hit mainline. The model will be updated > once this happens. > > Thoughts? In references.txt, should we add URLs to non-paywalled PDFs? Or should we assume that our readers are capable of using Google to find these things on their own? There are a few places where some comments should be resolved/removed before submission: Documentation/references.txt line 98: Uncategorized stuff (any of this really needed?) litmus-tests/README line 92: [ Shouldn't we have one with smp_wmb() in the process with both writes, and smp_mb() in the other process. ] In the files defining the memory model, we should replace the GPL boilerplate with SPDX headers. Alan From 1583977336012014895@xxx Mon Nov 13 18:41:43 +0000 2017 X-GM-THRID: 1583977336012014895 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread