Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp258545rda; Sat, 21 Oct 2023 06:46:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGjeMhoS2NjZ+X/E8yClcqS6brhnyvuBjsDrdAxyOAxhUBJAXGKH4CmYyKf5DDplsgWlvem X-Received: by 2002:aa7:96e4:0:b0:6b2:2a2d:7a25 with SMTP id i4-20020aa796e4000000b006b22a2d7a25mr3590026pfq.29.1697895988750; Sat, 21 Oct 2023 06:46:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697895988; cv=none; d=google.com; s=arc-20160816; b=Tki36TLkJk5b0ABPKKWWZRfdyD2yW0oaKZN9+KqJAEC6VzW2UXua5y5ClNHNIWBHSJ tomADAnw/GLPreS1VrnOTaxCSkorW733izpKtncOgyntufHXKrEMybadsKHngyFb0v1r 6/EY1I8pRUWsS+RrTLLiNMJ76TYFFtw7v/njP/MP+DTx3Z+Sc/Hu2qTbvQO411FqQqgY nGQH7HZ7CQSXxc08hkhFWOi2arwSMIEdO5WAOev5SJ+P/OEnRuzMXBHdt3Ay9ou8mCEd j1Z8P0xGIetVlYGsawXk2nLtlS2gqsY776O1kMLoN6vy1dFgKkxnp6I44CgDKcmEzUOc rZgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=GDrxgoEWsWaOeRxdTziHOeF15AojyX3Xb9y1Gj5Oi4c=; fh=GwhUndo4iEPfABTnLTUfqWMf93b2fqyZF/wUU4Uom+Q=; b=lXizLcQKd5WDzFdj/6NpriXRoNDwbXzrhCZdICjksyzd4NJr+c0FmcpMm+UjtfmDPz JMLozSqwUbAH43pX5OR9Pi1EgYT6G6MpI08H7rrgHtSMr+Uu51htok4UdwAM46R/Rt7y ppb6T0HpfcOOuQc8oSc3g+9knLGIvgLMsbzfTMjTtd4v7Y8K/616vuCvoBrdE/GnErWs b/HfZSTaDxGl0vW/ifySxv/C9fYWkQSyj5pSxswLl2Q5BSdn8fqD4LXSclXjKDSuPw4a Ykw985cNRGc4oLcXhkpG7W0vtK74M4EyT09gFRq9pcE3LBWVmfMAcfArmXnGmWIoJ3ps H/ew== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id s24-20020a056a00179800b006b5d17f2a1csi3758992pfg.45.2023.10.21.06.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 06:46:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CD6DD808D201; Sat, 21 Oct 2023 06:46:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229588AbjJUNqA (ORCPT + 99 others); Sat, 21 Oct 2023 09:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjJUNp6 (ORCPT ); Sat, 21 Oct 2023 09:45:58 -0400 Received: from frasgout11.his.huawei.com (frasgout11.his.huawei.com [14.137.139.23]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25F7CD63; Sat, 21 Oct 2023 06:45:54 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.18.147.227]) by frasgout11.his.huawei.com (SkyGuard) with ESMTP id 4SCMpB3zqnz9v7gY; Sat, 21 Oct 2023 21:32:50 +0800 (CST) Received: from [10.45.152.169] (unknown [10.45.152.169]) by APP1 (Coremail) with SMTP id LxC2BwBXY5Tr1TNlii2lAg--.49572S2; Sat, 21 Oct 2023 14:45:29 +0100 (CET) Message-ID: <596cb20e-a03c-cc69-d525-719d5a5b4c12@huaweicloud.com> Date: Sat, 21 Oct 2023 15:45:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH memory-model] docs: memory-barriers: Add note on compiler transformation and address deps To: paulmck@kernel.org Cc: Akira Yokosawa , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Alan Stern , Andrea Parri , Will Deacon , Peter Zijlstra , Boqun Feng , Nicholas Piggin , David Howells , Jade Alglave , Luc Maranget , Daniel Lustig , Joel Fernandes , Jonathan Corbet References: <4110a58a-8db5-57c4-2f5a-e09ee054baaa@huaweicloud.com> <1c731fdc-9383-21f2-b2d0-2c879b382687@huaweicloud.com> <2694e6e1-3282-4a69-b955-06afd7d7f87f@paulmck-laptop> <03ea8aea-2d0c-48ab-bb0d-e585571f1926@gmail.com> <8322165e-c287-6e43-239e-3fcd0b375c1e@huaweicloud.com> From: Jonas Oberhauser In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: LxC2BwBXY5Tr1TNlii2lAg--.49572S2 X-Coremail-Antispam: 1UD129KBjvJXoW7Wry7Wr4xuF45Wr4rtw1kXwb_yoW8CF1UpF ZxGa1vyFZ8Ar4xArsFqw45XFyjvry3JF15Xr1rGrykA398ZF15AFZ29r1j9wsxZrsak3yj vw4aqa9xZr98XaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUvIb4IE77IF4wAFF20E14v26ryj6rWUM7CY07I20VC2zVCF04k2 6cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4 vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xIIjxv20xvEc7Cj xVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIEc7CjxV AFwI0_Gr0_Gr1UM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64kE6c02F40E x7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x 0Yz7v_Jr0_Gr1lF7xvr2IY64vIr41lFIxGxcIEc7CjxVA2Y2ka0xkIwI1lc7I2V7IY0VAS 07AlzVAYIcxG8wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c 02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_GFv_ WrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7 CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6rWUJVWrZr1UMIIF0xvEx4A2jsIE 14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf 9x07UdxhLUUUUU= X-CM-SenderInfo: 5mrqt2oorev25kdx2v3u6k3tpzhluzxrxghudrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.1 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 21 Oct 2023 06:46:25 -0700 (PDT) Am 10/20/2023 um 7:56 PM schrieb Paul E. McKenney: > On Fri, Oct 20, 2023 at 06:13:34PM +0200, Jonas Oberhauser wrote: >> Am 10/20/2023 um 5:24 PM schrieb Akira Yokosawa: >>> Hi Paul, >>> >>> On 2023/10/20 22:57, Paul E. McKenney wrote: >>> [...] >>>> So if there are things that rcu_dereference.rst is missing, they do >>>> need to be added. >>> As far as I can see, there is no mention of "address dependency" >>> in rcu_dereference.rst. >>> Yes, I see the discussion in rcu_dereference.rst is all about how >>> not to break address dependency by proper uses of rcu_dereference() >>> and its friends. But that might not be obvious for readers who >>> followed the references placed in memory-barriers.txt. >>> >>> Using the term "address dependency" somewhere in rcu_dereference.rst >>> should help such readers, I guess. >> I think that's a good point. > How about the commit shown at the end of this email, I think it's very clear. > with a Reported-by for both of you? I haven't reported anything. >>> [...] >>>>> Thanks for the response, I started thinking my mails aren't getting through >>>>> again. >>> Jonas, FWIW, your email archived at >>> >>> https://lore.kernel.org/linux-doc/1c731fdc-9383-21f2-b2d0-2c879b382687@huaweicloud.com/ >>> >>> didn't reach my gmail inbox. I looked for it in the spam folder, >>> but couldn't find it there either. >>> [...] >> >> Thanks Akira! >> >> I wrote the gmail support a while ago, but no response. >> >> Currently no idea who to talk to... Oh well. > Your emails used to end up in my spam folder quite frequently, but > they have been coming through since you changed your email address. In return, I receive all mail from the mailing list, if is also addressed to me, twice. So it evens out, somehow? (I suspect this is a configuration error in my mail filters on my side though) Have a lot of fun,     jonas