Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3910070rwb; Sat, 3 Dec 2022 13:26:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf4opSsQsJ1mRpjY2dsbJRmhl4ye/k4nDhRYMFK5rSgreNE7F/uhkqQ/kYCTljCCznbfzHSM X-Received: by 2002:a17:902:8347:b0:188:f570:7bb6 with SMTP id z7-20020a170902834700b00188f5707bb6mr71848390pln.74.1670102809239; Sat, 03 Dec 2022 13:26:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670102809; cv=none; d=google.com; s=arc-20160816; b=j3fbasy8eHFXM1TYbwMLjIhCRylQk36imgVBJ7inqltmqCy/cmQhBJkIEJK6TW+bTA 8cQAmkYHU884cRF05izXJVffNXey9Ema2JbPaJjEZJpmTPY6Xhdvwm83gMkrAghSugmg +/Yvwz3bylEs+zDH6DzZteqdq+g5Gz8TUzzyPE51RL1P1yTbMY44w+P9skVjOGxzKcrv U9ZgE1jH5jebzoBUNoW0qRlpT9nEMTUlVPVZi+mU2DTS9MHPquP+PfD6566AayakLlzQ THy8znU7cSEsraQRLPEaDP4vzHbyB1ZEg5+1rpjxZW/9jO1Xqmw0t0FZGxKzk2b+LgNL GBLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=B9dSZ36v/7AEMIfLzHKjvOmk+ylxmw/JRX8WBdeKNpQ=; b=IeKFLHDrrH5l/lplv10kdt40wNiS6uvoNb0kdt8p/oIG+GRahivqHrISVdT6/T+77d SnfRhsbIhKT9zP7cXzE23TfjjbYwl22TBmhGs/xPkAoeB0Mlj7yAuhngwzsCloRtriZu m/gjr6zYTPfjsoIvYRKUkM8vw1aGRag6o2XlAQKM7guGru6Wf2gUJdZ7cQL/AO+6d6Cr 8GObL2XmpeJ+ZGGpR7676ZjIktA9yCiaSo68Uoce7D+9etYhkoxf1QQ8DLXCSXDLvvMr 5mUtz7pAybcqrYLpx6MWCaw+1ss4g/Me2kKysLKyEKo21hAWFEZzdlt1rHOTnXN2fY8c Moow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="B/sMehKw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020a056a00188c00b005750d19295esi5439214pfh.369.2022.12.03.13.26.38; Sat, 03 Dec 2022 13:26:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="B/sMehKw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229913AbiLCUkh (ORCPT + 83 others); Sat, 3 Dec 2022 15:40:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiLCUkf (ORCPT ); Sat, 3 Dec 2022 15:40:35 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23FB217E06 for ; Sat, 3 Dec 2022 12:40:33 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7CDD260BD3 for ; Sat, 3 Dec 2022 20:40:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C0F80C433D6; Sat, 3 Dec 2022 20:40:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670100032; bh=5x9goMj3ddiVFXs77tq1IPKAlFLBkfJKotzqz6MsJn8=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=B/sMehKwyYYABxUEY3kF3BTbEvVFLqt6yNoz1tRVMaLNV4qJaBj+tnA3rv8WnU2ZS i1R1LrVoh9y+Psf2Lv1MtUoJ07SFQkTWhp8VaTHbu3+mdACVA+dz76TPGbPQxgdNi9 NERI0aqWQXNtCIxYbNYio7InZJrUh98pMNwvv6KzqCMHqA96i38lIj2CJLVF/dXVDk oB71dw7buZvg9X0lyRg7oBmwCW0bKcCEwg5ksx07Zyq0JI03VTGAStUVAFeYfc+l2/ 8enP8QfmLJcGUytmd9dMnNnQh1g4MBUwd3bruyZpBsL1aO+ch+r9ZhaLU8ZfHST+gf +y/FFplGUxY1w== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 5AFB85C115F; Sat, 3 Dec 2022 12:40:32 -0800 (PST) Date: Sat, 3 Dec 2022 12:40:32 -0800 From: "Paul E. McKenney" To: Boqun Feng Cc: Jonas Oberhauser , Jonas Oberhauser , "stern@rowland.harvard.edu" , "parri.andrea@gmail.com" , "will@kernel.org" , "peterz@infradead.org" , "npiggin@gmail.com" , "dhowells@redhat.com" , "j.alglave@ucl.ac.uk" , "luc.maranget@inria.fr" , "akiyks@gmail.com" , "dlustig@nvidia.com" , "joel@joelfernandes.org" , "urezki@gmail.com" , "quic_neeraju@quicinc.com" , "frederic@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2] tools: memory-model: Make plain accesses carry dependencies Message-ID: <20221203204032.GV4001@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20221202125100.30146-1-jonas.oberhauser@huaweicloud.com> <4262e55407294a5989e766bc4dc48293@huawei.com> <20221203190226.GR4001@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 03, 2022 at 12:14:29PM -0800, Boqun Feng wrote: > On Sat, Dec 03, 2022 at 11:02:26AM -0800, Paul E. McKenney wrote: > > On Sat, Dec 03, 2022 at 11:58:36AM +0000, Jonas Oberhauser wrote: > > > > > > > > > -----Original Message----- > > > From: Boqun Feng [mailto:boqun.feng@gmail.com] > > > Sent: Friday, December 2, 2022 7:50 PM > > > > > > > > Reviewed-by: Reviewed-by: Alan Stern > > > > > > > s/Reviewed-by: Reviewed-by:/Reviewed-by:^2 to save some space ? ;-) > > > > > > > > > Oh, I didn't know I'm allowed to compress things like that! Can I use ? as well to save another character? > > > > Heh! I might miss that, and who knows? The bots might think that "?" > > was the first letter of your name. ;-) > > > > > > I wonder is this patch a first step to solve the OOTA problem you reported in OSS: > > > > https://static.sched.com/hosted_files/osseu2022/e1/oss-eu22-jonas.pdf > > > > If so maybe it's better to put the link in the commit log I think. > > > > > > It's not directly related to that specific problem, it does solve some other OOTA issues though. > > > If you think we should link to the talk, there's also a video with slightly more updated slides from the actual talk: https://www.youtube.com/watch?v=iFDKhIxKhoQ > > > do you think I should link to both then? > > > > It is not hard for me to add that in if people believe that it should be > > included. But default is lazy in this case. ;-) > > > > I brought this up because, as we recently experience in RCU code, we > need answers of "why we did this?" to the future us ;-) > > I agree with Alan, this seems like a good idea, but having some big > picture of why we do this may be better. Fair enough! How about something like this as a new paragraph at the end of the commit log? Thanx, Paul ------------------------------------------------------------------------ For more on LKMM and dependencies, please see this Open Source Summit talk: https://www.youtube.com/watch?v=iFDKhIxKhoQ