Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7633096rwr; Wed, 10 May 2023 10:30:12 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6mgv72fiLeYpER0CbfjjX/55yt1D0B1SchreYiAoylGot6Wx0keamTqOGmA+obvlAH0h1F X-Received: by 2002:a05:6a00:170d:b0:645:8a69:faad with SMTP id h13-20020a056a00170d00b006458a69faadmr17350039pfc.14.1683739812025; Wed, 10 May 2023 10:30:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683739812; cv=none; d=google.com; s=arc-20160816; b=LF3CsoxceWunkelueEOXvKJhM4b2pET0DbMqqqSuKgnNKc9ehF9dm/9k5ryC7/h+q+ eKcg4/Bvo7gGsWYa7btrtfWC0Cla0xb/QMBBMKwfFV5C7lND5pOUn4Lhpxi5+oLN1n1r qReqzbK6cSxVdJzY41YeNdb6eUb7y7gdHPUwE0wq9wRJJwPGVmkJ0cwS61cAO0Yuk4Me G6d/ZiMTTfP4psSzJ9m7DycEeS8BTY5tgtKcA2/r31PjVs/MNI+sWeLeympubXhQh4Wb UDPYCUZh+WAN8sV6X9bTdouqVkqGuktlQyaBGtizGMtiuAeh4H7K59lnBn+6Yb5CGATe xTZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=/afnu6X75xv7BLzLPPu4dXdapUv3PgliVhxbReLpr9o=; b=jQD+u1nhzGpHDRpr8Iv0oYLwcPB/uOjb4t21H719zWLtsFfl4j2+U3hjKihW+xVsWU SOiqpTfns0/5nRH9XwJrjCKrfUdsH1N1fuzgnXuoyQvfvS04vWSwrqJzN65otBtOsJF/ ZGREDHLIUC8nqdE09ACBkHHP+wVIT725BjNjs5CENNaOAlcFBnWve00taD6bIj5rvfxs NIqn+Z9hWzimlIyTwzFj+EZyJoLzciAPY+eCsOp6vxadQfftImSdsip3p39T8KIMXE+Y 0avDJfEC2FDajQxPvgRjlD27d0ckHyPpNU5CSlbOiy+lAN5mW3hiugDj+NAqqzLRQQez Ar8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V3nPTiCB; 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 h187-20020a6253c4000000b006489d6fa83fsi1222898pfb.142.2023.05.10.10.29.58; Wed, 10 May 2023 10:30:12 -0700 (PDT) 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=V3nPTiCB; 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 S236378AbjEJRGY (ORCPT + 99 others); Wed, 10 May 2023 13:06:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235962AbjEJRGT (ORCPT ); Wed, 10 May 2023 13:06:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3676A19B3; Wed, 10 May 2023 10:06:02 -0700 (PDT) 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 951BE60ABF; Wed, 10 May 2023 17:06:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 011A0C433EF; Wed, 10 May 2023 17:06:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683738361; bh=O7xPHBuKYymEq9QfOs6J9G+s+CD0IysaluF7gPmpAC4=; h=Date:From:To:Cc:Subject:Reply-To:From; b=V3nPTiCB4dDVf7BsmRK9iPZ7hzc1NgVp38NjNBnWOPpPWSq6c8oa4Ax81kxbPxuS9 W98Bfmfp/l3aX1LQjcfxky1I4PYL86a7XStT7EypbWA795sCIfCrcWWg7HO+bXwr7W cS7PP2F2feKsa5q7aL7hXINkIF2Cd83YqjaonI3k5aO6jksfy0In/PdAvn/GrvIPIt Fo80GtIq5W2NYATKLJriKIBqfZzdk4JHVfMZ2+WS7DRRRDNOslszuTCdkC8GKctPY8 j9iK+fe3Bjc6Z32/lEEeEhnhDIb1I6IFYSkZJ2C9X3Tsp745SGlvfgTa0OC6z11iwr suoYr3c5Wjksg== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 8656ACE126E; Wed, 10 May 2023 10:06:00 -0700 (PDT) Date: Wed, 10 May 2023 10:06:00 -0700 From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org Subject: [PATCH rcu 0/4] Callback-offloading updates for v6.5 Message-ID: <9c5fae22-e25e-4548-b6e9-117495b29e62@paulmck-laptop> Reply-To: paulmck@kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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,T_SCC_BODY_TEXT_LINE 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 Hello! This series provides some nocb callback-offloading updates: 1. rcu/nocb: Protect lazy shrinker against concurrent (de-)offloading, courtesy of Frederic Weisbecker. 2. rcu/nocb: Fix shrinker race against callback enqueuer, courtesy of Frederic Weisbecker. 3. rcu/nocb: Recheck lazy callbacks under the ->nocb_lock from shrinker, courtesy of Frederic Weisbecker. 4. rcu/nocb: Make shrinker to iterate only NOCB CPUs, courtesy of Frederic Weisbecker. Thanx, Paul ------------------------------------------------------------------------ b/kernel/rcu/tree_nocb.h | 25 ++++++++++++++++++++++++- kernel/rcu/tree_nocb.h | 33 ++++++++++++++++++++++++++------- 2 files changed, 50 insertions(+), 8 deletions(-)