Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp720144yba; Fri, 26 Apr 2019 07:42:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8aCjfWiKxzPVUMx1jUnH/Y6aPpvEibWt04WnTVnEy+kfuBKcMFBAdW4F59t0elu0PdN93 X-Received: by 2002:a62:5ec2:: with SMTP id s185mr48576193pfb.16.1556289758629; Fri, 26 Apr 2019 07:42:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556289758; cv=none; d=google.com; s=arc-20160816; b=u0nqQiwumw1E5rX5KEsZBsln0MHQjhxoSqILpTmLNqmpYp9Pp2q+2pEe7DIU0pNfm9 VkAArtm3wAwpjONO0waHTlwiD3R8ZioeFJWpHGnCbLODE/Be4iKPx9svG6Wjl6bkyJMO TmXf4iBik5QNb1MMIsiraMfD6iJy6X/HZPQalBeKfr/f/yN8mq7go+30YDDFf6jW0rzq K0N9amPi80jO6oqK3ZN3G+niEm+e/ZNUi1fHKf4uKkvTNSkLZtn1D3UGtKwYqNZJZM8v mxvZK27yZAtfH6BffMbRvXCwk2WGdnS9sPalAu2UASY4f5L256joh1BBEIyGQ36MTo3g FGBg== 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; bh=wz/vk4VU0P+AZaAcYN2OYniYGEe4LFUaLCl1asmAd74=; b=tR8Z8jsXSNlq7IxEBITWYprDJR7vHWI1dyu9bCIoxho8PR6l99n4UEKH1fSTNSvAhO 6pELT0hc1pvxbLC4pk1OxEepUzU8cLjM6Uy+Ajc4W1HqaiOHoER9tvC0nr1GSg1jnDE9 D0PsmaGcA7ldiwtyqyTar+CkKgXLHDGQhHjiirMJ+djqY/+p8CZmXFEVID7qoovQvB1z 46NshRLghQ686HmnT4Qwi/Iusrk2uGIcmEYnqFrY+U/iXsC1OVlJSpmwcguOfl8/Ugxv j0tQBw1JPS9/6ww/zYaxnfD+ELTauyMqW8d2h3QGZdgeOd4ZRaJ4zpEUFlm+PkNwADOi mtlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JelVN6Dz; 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 k73si25873567pfb.195.2019.04.26.07.42.23; Fri, 26 Apr 2019 07:42:38 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JelVN6Dz; 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 S1726435AbfDZOlS (ORCPT + 99 others); Fri, 26 Apr 2019 10:41:18 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:46485 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726060AbfDZOlR (ORCPT ); Fri, 26 Apr 2019 10:41:17 -0400 Received: by mail-wr1-f68.google.com with SMTP id t17so4726652wrw.13 for ; Fri, 26 Apr 2019 07:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wz/vk4VU0P+AZaAcYN2OYniYGEe4LFUaLCl1asmAd74=; b=JelVN6DzG4YD8MMRFJOEZm3vJwLKpq8z1Z0q6mbXZvHkoKJvV0CaBso4P5wo5jeba4 Vwx92C4dUzfSN7jEuRP8wyA6flAXePFEN2M8Nhu5Q4NDV0Y0NVvILyj6qyjQby4gOJwZ fZjsrOmqz1mIs6Gmb+4pcgUPIkrmxXDNYGafo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=wz/vk4VU0P+AZaAcYN2OYniYGEe4LFUaLCl1asmAd74=; b=K8wkVr2170x0RTJqaw107v+TFmK/DRurGeyoScud1VxJHXUl+HPQR5sR1T91zCOCqp AlsvPaqwg2Z5J5B5Rpmya7J1LPvfyygv/dWdZOdR7rtNSCPsm7zsZNkw7zauOyRp+bIl AWO4SWXincRhZmlBIx5CkX8XcriRD/PBDhl9hl3l7MdNqWGeAPPUCoJPWAA+Zdlfc8FQ hdExC/hmEw+O3T5oYtnpBqKI6S3yAbKZ1ZNsLS6c3G9WRuHB41t+/LEVteCWN3hvGRBT IYdihLX+KB8kSCm05sY72e0sD0xa3TMBxgnWyH1F1oRrur8DL5J1XSAL9z+kcfEeD+44 cXiA== X-Gm-Message-State: APjAAAWfSY1/X70ZxbXfeijguWI6yNveHQEB7YS1rYaaklzW1ZkO8rUj 68qtj7ia0iIZKcv8CvguuTbZ/A== X-Received: by 2002:a05:6000:10cc:: with SMTP id b12mr5619400wrx.182.1556289675536; Fri, 26 Apr 2019 07:41:15 -0700 (PDT) Received: from andrea (host116-65-dynamic.49-79-r.retail.telecomitalia.it. [79.49.65.116]) by smtp.gmail.com with ESMTPSA id n17sm22129950wrw.77.2019.04.26.07.41.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 07:41:14 -0700 (PDT) Date: Fri, 26 Apr 2019 16:41:08 +0200 From: Andrea Parri To: Alan Stern Cc: "Paul E. McKenney" , LKMM Maintainers -- Akira Yokosawa , Boqun Feng , Daniel Lustig , David Howells , Jade Alglave , Luc Maranget , Nicholas Piggin , Peter Zijlstra , Will Deacon , Kernel development list , Joel Fernandes Subject: Re: [PATCH 3/3] tools: memory-model: Add data-race detection Message-ID: <20190426144108.GA6235@andrea> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 22, 2019 at 12:18:09PM -0400, Alan Stern wrote: > This patch adds data-race detection to the Linux-Kernel Memory Model. > As part of this effort, support is added for: > > compiler barriers (the barrier() function), and > > a new Preserved Program Order term: (addr ; [Plain] ; wmb) > > Data races are marked with a special Flag warning in herd. It is > not guaranteed that the model will provide accurate predictions when a > data race is present. > > The patch does not include documentation for the data-race detection > facility. The basic design has been explained in various emails, and > a separate documentation patch will be submitted later. > > This work is based on an earlier formulation of data races for the > LKMM by Andrea Parri. > > Signed-off-by: Alan Stern For the entire series, Reviewed-by: Andrea Parri Thanks, Andrea