Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2814049rdb; Wed, 15 Nov 2023 11:11:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYO1Ec3TmRSf2LnmllFk5NXPsHSCrjnq2sTwC1IfbipU75aRYv3Nou26ZwlXRmHXJ6eOOb X-Received: by 2002:a05:6e02:1a87:b0:35a:d052:da48 with SMTP id k7-20020a056e021a8700b0035ad052da48mr5722787ilv.29.1700075511084; Wed, 15 Nov 2023 11:11:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700075511; cv=none; d=google.com; s=arc-20160816; b=wBO73yhzwx6g/5SavrNVerIMxvGEkVCXnHtR4x+Lv3r/R+OAbpvt61CU24vS1hxeTS B/1R8wuwam/NRm3PMza2Q1DhjEczNwRpBUqJXbSg/2P4+7he3iMZAU5tG1MT9lnKD43Z ynXUlb4FIashs1AN/bn98gV4yhd2I4pm/9ru6NP1+ZP6NR1RYd3sGPGEZXOMr+g4UPgO sc4O5GGXjF52P5BFIXgFb+2Bpoym5uK3aO5t1NZw56PG5CPHAfw53jS05wYWOHbFv+Hi g+b0Wqo4WMIgEP0K67O2M8jYGojcAd99yKjI6BxtXkAKN+/xxQshErW9J/3kDB+J3zsv HRSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bUMA/Xo8K6TxJ9l1KWiRaOU226FUhOPaeRvay5oFOkk=; fh=Hg33MEMv6OAYg0vV8rrONkXSgLqcq8ZX1if6rnFlFSg=; b=LQicQ/wByqZYKIp2e+Ou/M3SBG3C9Eh6B49Q8QFAE/BlRNDVI3DdptxJm+SfO4qhOY FbzOfIrqf+JMG5zBoRA5tjxpo9VmKcaECXGTMWNpy4uL0RonZRJEPzTuyRIMgQCCVcMx tiBfxvi53vXwY2gPOmIXQWPVkcs9fspowNL6Jlh9mkx2smUuyVytCzsFaFGjDEZ4To+l bTK0qkGOAI9hEMZU+x0h6nO8ckbCDoKtoA1uZGHik1dCvipt86LnRwsvr3YKMb7qep0U Ha2Afal6EJrg3KA53StoODXuXAgYO7nEAlHaCU20SbBfghWTQYFypzJvtdIDAIfcQPoJ sEjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R05TC6VB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u32-20020a632360000000b005bdf5961d87si10419934pgm.266.2023.11.15.11.11.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 11:11:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=R05TC6VB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 854C58028A6D; Wed, 15 Nov 2023 11:11:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230213AbjKOTLg (ORCPT + 99 others); Wed, 15 Nov 2023 14:11:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229818AbjKOTLf (ORCPT ); Wed, 15 Nov 2023 14:11:35 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0745BC7; Wed, 15 Nov 2023 11:11:31 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71F14C433C8; Wed, 15 Nov 2023 19:11:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700075491; bh=utQMX46a5Id7Ojp2vJ/SRydjItBXfZmfdXR1HetZfx0=; h=From:To:Cc:Subject:Date:From; b=R05TC6VBCJwPVHLA8t2VDACEiReA2YxNYa68NSIqyUEAnMq1DZGNVV9mN4aAj+ogZ NSjZF51Q61tiSRIHpYuWLUpy0Zziv9CtAjIc893tEiGsSlIqCa1ev3XyY/hm+3DbNr QoJvE2vKh2vs5Z/SGNbiutmRb7n0Bn0Wi7+uRL3ZwwCiPhT0rtHGJ+A10AxKZutuvH pkeKV5StC4qOxcPj3kRvjWAFWggeAZp5iGJBdB9JVcnz96Lfj1ATyhA+sJ47QJYW9o 2OO5NDp0qkT8aYJYUUF/9gGJ0xkbxsLZL4kEw/u70ADBgwz894G7MyNocVVkHSMysX oHfMIy7OCzgqw== From: Frederic Weisbecker To: LKML Cc: Frederic Weisbecker , Boqun Feng , Joel Fernandes , Neeraj Upadhyay , Uladzislau Rezki , Zqiang , rcu , "Paul E. McKenney" Subject: [PATCH 0/3] rcu/nocb updates v2 Date: Wed, 15 Nov 2023 14:11:25 -0500 Message-ID: <20231115191128.15615-1-frederic@kernel.org> X-Mailer: git-send-email 2.42.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 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 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]); Wed, 15 Nov 2023 11:11:42 -0800 (PST) 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. 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