Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2055630lqb; Mon, 27 May 2024 06:36:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfHY9CR45Gk7IkkK9W2SZ+WLaj7K/EynDhN020L+30UTq/KRY3j0+C/Q21X1SMm0+RNtvY3cuVuzuLFtEiQCEcjK4Su817ZWmj5rOnPg== X-Google-Smtp-Source: AGHT+IG4Uqxr83EkVyroXWxW1YAhTFnS39qeLRgBeYFYLRSvFQEsKxyeeK1nz3wWNjguU8fzBlPv X-Received: by 2002:a17:906:e84:b0:a59:c9ad:bd28 with SMTP id a640c23a62f3a-a62641a5722mr568472666b.13.1716816992068; Mon, 27 May 2024 06:36:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716816992; cv=pass; d=google.com; s=arc-20160816; b=eFwcewLBxedSMvSU2PN2IPr9DpWXjZGp4ekVLr5AIhTt6zs43eoNwGhrXFxUIfUItp u3NTUqRxEI5qV38tu5G18UGgz4qohXcM3AkQNdp+Ioq87hUQwssCyZqEd9wDxtcfrYg7 AVUTXa3j5uoRP4wRZUFDN7HmNAS+t03aCoDZakYh5mWxMw91yanznxwOKY8XmTCNlfwX XIf2Lj57YY6NWs3MR+ENLj3AEwqhXsoLffGld+H4GbBizEYmpXFDvSa02VxJCtilD+Ps 4db3C1hkmLbRciaaiZEBDk4pWLBSIWaK4CnKiKW9CBgIYBILMnDQqYXN218Bz9g8fx8j U5VA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FPelcZ7WHvjbzGj63vH28P2uqTe4G+u9uApH1oPNWBo=; fh=ijUHg4628ACrq9oHqYvcHtNZco+19Sxy/8cuutJbcWQ=; b=cf1znc879rXU1B/O4E8sH70brAqKbopKrdim9jkjHZK1dKfJmWTxYMIbxwoMd8Ya3A IaRZG9B0nEisEsiUifaefaMRH64gNprHNFvKiPvmUxDgrWUSeKm/1y+C7CQ2fY4EQtcn LwBuPcFpYpFhkwb38QGIXkuOxNHD1ZHjN2I9dNc8QEtb9R5/Y9BSdC6NIooba5M2KY/7 TFU1vt5yZk23TUrhBI/AvDVCBOC5FC8ckVJW9//sS0XbOjCyjAPkZsRCMVRXBLxmmqhS akTQENQxzccDewBlXTerJ5k11iYqWE9OeARaD7lthSscb+y8tpt12MXXhBcr6ww3J6vn cRSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PiHVUzBf; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190720-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190720-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cd902cfsi396932766b.751.2024.05.27.06.36.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 06:36:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190720-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PiHVUzBf; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-190720-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190720-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 6CFCA1F26526 for ; Mon, 27 May 2024 13:35:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7AEE15EFBB; Mon, 27 May 2024 13:32:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PiHVUzBf" Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A02D615ECF0; Mon, 27 May 2024 13:32:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716816751; cv=none; b=hKiAY92Nd5xgmiFZZWHWUgIeuPANDem2yWONIbTK5UoLDKkAJDJePyxJS8zaRWBr2qG9zFwrqlJ4I23cR7K+PpSZcTUm8PnGFZjVqtilQLZ2lQsrq55d0BrvVPgzu7ESPhbvBzCrPQiYJZ2I7067EUvNInWmnRteLFw4Fak6wKw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716816751; c=relaxed/simple; bh=pgZeXtSbEyXQ6I2ykA4tVLirFGIPg/Fk39T8jyzcKno=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lbvgwwALG6janTt4m3gdD91a1cFZG6GRg0Fp0OspZ59wZjYFkMowUmgQpQFwqvNEQodAa6cvvGx+WMWuHR7RiV0BvTuLW2r7XvOF1PGgx1hDKQeQYdY0IEyqRI1r6ijG4QIJi2v7qVfk/CVKbJ0jmvGfJKZKuE053nfK+ntsumU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=PiHVUzBf; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-420180b58c3so85049685e9.2; Mon, 27 May 2024 06:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716816748; x=1717421548; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=FPelcZ7WHvjbzGj63vH28P2uqTe4G+u9uApH1oPNWBo=; b=PiHVUzBfpe5zih6niH/1s3M3CKowyeSfSbj4OH5SaPGXhrRYxpz9SH79WJT0LcWED9 Lxpk0yKEqs2cMam/tfImNP6e5IOuop46RV6pH1zUsL3IVTdR7yk74f0RkC4oLIX5777r 4NB5iqx02+jbKY0dGByJVXYrR9usDHF5HF3AGOtcFGvzCyE4RuTZ7DxQPsfG0pV2RmxC ZkxyDR2+cPo0GCDypI8EY6ytyJw7SKIGLHepH1DzNSNa0vusHfBzKxiH0+rbC4fyWN6E B52NqYuQeD8+JTPMZ+5gvTaCrnxP2fi3bACIGFhG/19Cv2FgKAHXFp0cg+SnY2dnPX3B fEnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716816748; x=1717421548; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FPelcZ7WHvjbzGj63vH28P2uqTe4G+u9uApH1oPNWBo=; b=WYDznSYYjRzdoNUqQmOI4NAOPHEL7k0gF0D1IMO2lkpNUijg8ZNmL/EEUsrXQ7ncjf 20LuR0NuyenhTDmd4Xe5Cj1uI/nVdwPDNT+LVsBiTa/tYXLkDTH1RUGBfjriP7ZHaYjC G/ne9rOLqh+ZzKzq3Z4D+kMan8dn4h43CbWWuSq/i5MUTbIqnZsdXWiajY/98HZuaQ8e 7OpZPUNkgZjw3k+gwAK9pxZkXloWDxGDRuW4e/E0/QpuTiB2Y30X6LEALpDJX8SSacih EBeTZNieo6B5/MjB2dQDGL7XRiOKIEhFASzd9yaXi69LCgiGb4yu92ONuE+wb27EK3TD 0NZQ== X-Forwarded-Encrypted: i=1; AJvYcCXFEFrb6ojUZVaawfpvRvs9lL1gg/tcvzkxZ/WA1WchP+E8yltorx8U85Rl/kp3yXsZ2uJkvmZSVkv+oqIIz8//LX3FYKwDjw2Th/yqmD4ida9WxmfKvJUdYBzCNz5vG2MewsECoPUX6Q== X-Gm-Message-State: AOJu0YwVXYdi3IWWKxhguzmUznYrIbswBn+eiTB1cojMnYWJyG67zoRs LVExw1fP8skAbaMQtEv+YLylwf7dvI+2wg9Lzwr0c2xdKieceC+F X-Received: by 2002:a05:600c:46c5:b0:41b:855b:5d26 with SMTP id 5b1f17b1804b1-42108a4f8c4mr67045565e9.2.1716816747732; Mon, 27 May 2024 06:32:27 -0700 (PDT) Received: from andrea ([151.76.32.59]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42100ee7e1fsm143047805e9.6.2024.05.27.06.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 06:32:27 -0700 (PDT) Date: Mon, 27 May 2024 15:32:24 +0200 From: Andrea Parri To: Hernan Ponce de Leon Cc: Alan Stern , will@kernel.org, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, paulmck@kernel.org, akiyks@gmail.com, dlustig@nvidia.com, joel@joelfernandes.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, jonas.oberhauser@huaweicloud.com Subject: Re: [PATCH] tools/memory-model: Document herd7 (internal) representation Message-ID: References: <20240524151356.236071-1-parri.andrea@gmail.com> <1c6d4146-86f8-4fd5-a23e-a95ba2464c9e@rowland.harvard.edu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, May 27, 2024 at 02:25:01PM +0200, Hernan Ponce de Leon wrote: > On 5/24/2024 6:00 PM, Andrea Parri wrote: > > > What's the difference between R and R*, or between W and W*? > > > > AFAIU, herd7 uses such notation, "*", to denote a load or a store which > > is also in RMW. > > I also got confused with this. What about the following notation? > > R[once,RMW] ->rmw W[once,RMW] I'll add a (minimal) legenda describing this and some other notations in the next version. As Jonas remarked in his reply, * is what you would currently find in herd7-generated graphs, so I'd stick to it for the moment. Andrea