Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2016889lqb; Mon, 27 May 2024 05:25:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhwXO35HuZbrDtGcTX9KEdX3PRk3o6iXUQ5ARWBJgAusjITYDMM/4qaYCfHTZqWLSDn5n/tyrJwluI2iqSWdIdMroHrFoLBiep7Oo9sQ== X-Google-Smtp-Source: AGHT+IGMFZrCXXma8BTtqBd/CVEWpijzsD9dg9SnL4wSgzpEIEoeio8br7PItcZvKYYziUaEAIVh X-Received: by 2002:a05:651c:504:b0:2de:8697:e08b with SMTP id 38308e7fff4ca-2e95b0c1620mr93689161fa.26.1716812737970; Mon, 27 May 2024 05:25:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716812737; cv=pass; d=google.com; s=arc-20160816; b=bjciO5zf0/mBKG/flC2s3n3/hEVYfH8xIGYJqpR5oKevG59rgslQl/PLllbCqa9psD 3JJoqRSiOQhXVXvL4uh1znzn0FkvNKMDeT8Eem4ak2LKavPHyL2wG9sWRHkM3yfRx/C2 8ziftUMP92ZgrNK/TwFbxtoTqS4bv6Vl2lTmZ+5NN27tFT8JM4YLmN23NOdAPXOaBXvY k79QKHQ+5kGgfkekwTFG8vhUhCCWskbSy9mLhAZ+ldb7oYqJHiQ68WdBSInxCMXHHbZt Hyv4R7R9NaZTEmMVMgp79HGmkLk9FpY2HFsIvopsXglqEUHLFU7LzjwdbJ2ZiH2PL4Po rwVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=9FEzWqkEOY5LfogTdV/9OSvtrgiaXocQsqpkxJTXKco=; fh=Ts3bDCcFzyru3uns59HczQwcF2Gou1gYuaM9pbiyeqc=; b=uof8YMePeKdgi+KBP8ey+IufuDFlw4WtWBX7cNg1QepUQ6vwCY94YpgqUIG2sL7Mqu TL+IQmALD4szKRryUBLHp6N2kjmEpZqYWu5JPEU5wEZwnhENkUMW4DpOZdZcuoz/pFgB plVD3S/m8q2NZWbdcG0UDHvVTKqCRbMFhXFO/wZuxDb2O2UHNeVFXmefbgvx3w0a0xuw MKzgJf4wwv2GzASSN9U4vQ7Yq5PrbY0NY7n27ORl5l3yK5d518KPsPA2n/NEPFv/md5k oYxua2iOVkI+zsi0jWqONGPPSPX7PyyvmA+58Yn01QXMyFzPUrdM5kPRo15Drb5y8Ys+ tARg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-190577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190577-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc35eb6si369048266b.309.2024.05.27.05.25.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:25:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-190577-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190577-linux.lists.archive=gmail.com@vger.kernel.org" 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 ACC681F216B0 for ; Mon, 27 May 2024 12:25:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1FE3D15E5A5; Mon, 27 May 2024 12:25:30 +0000 (UTC) Received: from frasgout12.his.huawei.com (frasgout12.his.huawei.com [14.137.139.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE9301581E2; Mon, 27 May 2024 12:25:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=14.137.139.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716812729; cv=none; b=hP8UzLOec+KCXY4V1zNu8ofU9mwjoCsuiRy2dMZazJjstWHabzb62ypzttAPeX6O1dkwBjnHazPzLeMhvHNyAyI++ztOrPkTqNjOG1RU4LQg76uZdw9+CtFfQHoHy6H21VW4lN3HNKKy56G6r96eQ9nMWoPo5SZcivmU8fRr8pk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716812729; c=relaxed/simple; bh=0rZQuzbIyL6e0S/4y+sZF0PdM2KrAceTN21Hx4JHWVs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=T6Pd1iiGAHMw5v1hC1yISzjXjYsz+kkA7d5698Dy2bQ3zrH4YnyG4uJgjyrYFvelJPwd2doFVgyVI5wEYbXgQ3gbLd+AHx+Thfxzx7EPCls3Tq65KttxYeUVe8MiIssufKyQ8vMz/XK84KNkWqffcOY4I0heDBcPjDi+NoIJZKc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=14.137.139.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.18.186.29]) by frasgout12.his.huawei.com (SkyGuard) with ESMTP id 4VnvRh5vJ3z9v7JW; Mon, 27 May 2024 20:03:12 +0800 (CST) Received: from mail02.huawei.com (unknown [7.182.16.27]) by mail.maildlp.com (Postfix) with ESMTP id 15DF61407FF; Mon, 27 May 2024 20:25:14 +0800 (CST) Received: from [10.221.98.131] (unknown [10.221.98.131]) by APP2 (Coremail) with SMTP id GxC2BwCHciaee1RmQJkACQ--.33138S2; Mon, 27 May 2024 13:25:13 +0100 (CET) Message-ID: Date: Mon, 27 May 2024 14:25:01 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] tools/memory-model: Document herd7 (internal) representation Content-Language: en-US To: Andrea Parri , Alan Stern Cc: 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 References: <20240524151356.236071-1-parri.andrea@gmail.com> <1c6d4146-86f8-4fd5-a23e-a95ba2464c9e@rowland.harvard.edu> From: Hernan Ponce de Leon In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID:GxC2BwCHciaee1RmQJkACQ--.33138S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYq7AC8VAFwI0_Xr0_Wr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280aV CY1x0267AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE 5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JrI_JrylYx0Ex4A2jsIE14v26r1j6r4UMcvjeV CFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lFIxG xcIEc7CjxVA2Y2ka0xkIwI1lc7I2V7IY0VAS07AlzVAYIcxG8wCF04k20xvY0x0EwIxGrw CFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE 14v26r106r1rMI8E67AF67kF1VAFwI0_GFv_WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2 IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxK x2IYs7xG6Fyj6rWUJwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14 v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjfUF0eHDUUUU X-CM-SenderInfo: xkhu0tnqos00pfhgvzhhrqqx5xdzvxpfor3voofrz/ 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] > > Andrea