Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp54030rdb; Mon, 4 Dec 2023 20:21:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdmkTTCjazTkcbqbOnX5YrFNXwqnOVgrPDddHYNYh9M2EXFb7jK8NRlJ6ezesRtpThnhd8 X-Received: by 2002:a05:6a00:1309:b0:6ce:3f6b:638a with SMTP id j9-20020a056a00130900b006ce3f6b638amr699461pfu.48.1701750101213; Mon, 04 Dec 2023 20:21:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701750101; cv=none; d=google.com; s=arc-20160816; b=KTeYANfMl5nbJ8D+q9ogsK07V0WrW8rlivApoFKVPzDtuyr0U1lhfw3BclIRNMnMKB /77cu7ABOUpj6+2p1Zsa4ucfC1AEE97UNyBfYToiBj7/9ORcu11vsMG+0ysUHq2H6P6e U5KM6ORJ13p8jgl9YEq61wUF23Mud2fvD7ktmAvQ0/+WlmOfHy5HRhDdQO3LX3LaVpgm Mdx0y7fkkQm7gBQjWe4eekmMqAkEFGfAkXNoeDS5E9GnXfg/d7iew2oiXhJGiwQ275er /acZ4JBWsioT/yAklzZI4AgLAJu/kqNju4ccMKOfb4vT5ahzDGzPAV8s5RDwkxmhgb1d lgPQ== 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-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=x80hPwkMVB0g7Rnvn1Vw270nJpJhyugDCpPTNRlvuvQ=; fh=rNWjA2ScL8Z7LQbsoClDMjtIuo4AqswST0ClfY37BMI=; b=d+Url/I/HwaikKM0DWNGLopvjyqgrACmVJXxQCjk0LfxPnHTN0K/HK7iIyXtxqA6u7 Qm7LWRha/0PI5jVvZ8gSJna6tpwCMLjcpudhMLgePbrecr6PxOg3ZNwwZa1H0VzcbaLQ 7649ovolq4Per2HAxC03pOE1odB2TQMyewr94+x/prd/mw06WMxJbEmBSA7AFdFWq0Lo Ui7t6bnEnH+nT97TyYt4fHCQESY7Hqssu5AYazFoFE3RvodWVwiO02kmPSG6HCLvA8/N F3eIa5fyJZa3U7cwz2BObTullTnIqt9DS/Op1R9Gd732Iq1w9kxqbIWcUJuXstYtS8gh /J9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CW8Sr/MJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id h11-20020a056a00230b00b006cd8cddf8c5si9283594pfh.14.2023.12.04.20.21.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 20:21:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="CW8Sr/MJ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 5EEAA807D404; Mon, 4 Dec 2023 20:21:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231669AbjLEEUv (ORCPT + 99 others); Mon, 4 Dec 2023 23:20:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjLEEUu (ORCPT ); Mon, 4 Dec 2023 23:20:50 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16266FA for ; Mon, 4 Dec 2023 20:20:57 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82B55C433C8; Tue, 5 Dec 2023 04:20:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701750056; bh=cYXfgEUnHpMfmOckZEUuZ8xDn9DXcjOAm8MCEgy+tNk=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=CW8Sr/MJ5RZoHCQ69JfRgub52iftgGV0NccVxjHMH1NdUJviX1oxsNV2rBy8vCfJF BZdSvhZ3Iiu4V9RPdIZyJJT51QYBCdmtHd04F9U9PNwuOxecdFzGS5y9IXBPtjPac2 5be745ra4n/uiCk4pWM4iAeST+lZsg1WP/QvLPr3OxsySx3tqReE9IuwCA9J7PNTH8 NqmlvkgDexMz1PzM5jgV7dFTyDgdiX5YoaV2anBwxbU9qxRfBzNZB0DVN2PQXEQ6uF FBOXAvrNXqxSXSYEq/W8b0PJgJ12bZ57AuXmu/QkvaUoO1tZg6mJktQE5xK1uC9f5P U8GP4La+svnHQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 12376CE1147; Mon, 4 Dec 2023 20:20:56 -0800 (PST) Date: Mon, 4 Dec 2023 20:20:56 -0800 From: "Paul E. McKenney" To: Frederic Weisbecker Cc: LKML , Boqun Feng , Joel Fernandes , Neeraj Upadhyay , Uladzislau Rezki , Zqiang , rcu Subject: Re: [PATCH 0/3] rcu/nocb updates v2 Message-ID: <08b4d5bf-800b-4696-8c4d-fc86af741849@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20231115191128.15615-1-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231115191128.15615-1-frederic@kernel.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Mon, 04 Dec 2023 20:21:09 -0800 (PST) On Wed, Nov 15, 2023 at 02:11:25PM -0500, Frederic Weisbecker wrote: > Hi, > > Here is a re-issue of some leftovers from a previous patchset. > Changes since last time: > > 1) Use rcu_get_jiffies_lazy_flush() instead of the raw variable (thanks Joel) > 2) Further comment ordering expectations between grace period end and > callbacks execution. Hearing no objections, I have queued these for further review and testing. Thanx, Paul > Thanks. > > Frederic Weisbecker (3): > rcu: Rename jiffies_till_flush to jiffies_lazy_flush > rcu/nocb: Remove needless LOAD-ACQUIRE > rcu/nocb: Remove needless full barrier after callback advancing > > kernel/rcu/rcu.h | 8 ++++---- > kernel/rcu/rcuscale.c | 6 +++--- > kernel/rcu/tree.c | 6 ++++++ > kernel/rcu/tree_nocb.h | 26 ++++++++++++-------------- > 4 files changed, 25 insertions(+), 21 deletions(-) > > -- > 2.42.1 >