Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp6597517rwl; Wed, 22 Mar 2023 12:45:42 -0700 (PDT) X-Google-Smtp-Source: AK7set//nMG72mq8co0JJh/ZSFA8h9zHEZBF+RspCjI49rKvxGKEnL8fjW7WgBbPwjM+oTrk1xo5 X-Received: by 2002:a17:90a:309:b0:23e:f855:79ed with SMTP id 9-20020a17090a030900b0023ef85579edmr5079935pje.28.1679514342077; Wed, 22 Mar 2023 12:45:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679514342; cv=none; d=google.com; s=arc-20160816; b=Im5079NCKZ+ptNe7VSM8EkmNqnBVcRX3CHCsmmlTSGiytL0OMJpX2tE5y91qlHesLt Q6QtBdrh7mwkciD/btGEiYQWA+A1ob4fCMdUY5BV5KaojTetxDeRP3+iO5/nFLRX9ZMT hJerSNOhvXycMICFIL5ADF40rThPRkQefPnFH9wMX54fEg+m7aOsKLKeIyLz2KyTVkT4 62y1jKcItNdVZ+ky+pyUvlrSX2lu7lumhUrPGbbnR4OIwpcweqNU04b+ji3WAqsbUEBb L3TBjXNmSISXrDQn3kClG7hygPsTQJxK2ab2VDB+DGAtK+qb6X2zD/OLbVmdnLvTSXz6 MTfg== 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=4RjI7wqcT01hE/54LhL2LeFrzGHSRTNRa23/HZ0d7EU=; b=YspKIGu0nWKiWkvixqOgVgLR5rMGT/Y8oqubaHb5DlMus7mp2qeVXmdIA6Qx/mef7A R0Mv/jVDeAV2EyW7zTH2Pw+RX2C2ku5CGsdX3/X4uLrHfFz7B26PNn5QsMY68Gfn5GK4 MA2rKZ2sx0VJSP2R7jX1OUDFOJF7req7JAgmdg0pKUhbiPvnTVqskb9/PVGKkZc36l5m zrji4+PnzUe3AM2bg8xDW9V+dwY2roCvGD+PL6HRXnsB5Zp/5Ao6lA7gH8RPcQhevf4S MStQM6rU/KZvHpGCROo2eUMyfaJWw5VY0e/aYDfkO0fgicevVmHQt4M4yEyytI4AVy5D iXoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HcWR+Ff+; 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 pi15-20020a17090b1e4f00b0023b4bd3141asi17846884pjb.164.2023.03.22.12.45.30; Wed, 22 Mar 2023 12:45:42 -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=HcWR+Ff+; 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 S229555AbjCVTpS (ORCPT + 99 others); Wed, 22 Mar 2023 15:45:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229796AbjCVTpQ (ORCPT ); Wed, 22 Mar 2023 15:45:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A37A305E0; Wed, 22 Mar 2023 12:45:05 -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 AAA1C622AF; Wed, 22 Mar 2023 19:45:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F738C433D2; Wed, 22 Mar 2023 19:45:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679514304; bh=PPkDyBVVf8w8v6mw+4XPEuSPjWp6kxHOeiuCNFfBI38=; h=From:To:Cc:Subject:Date:From; b=HcWR+Ff+mJbTZ0G5yBcSNlIGCRNjfC/0Kdp9cp8WdHWqAaJ0+an/R5Mac/g5WjFPe 64t/xa4KeUdJXCUjljOBoY+UVPMUxa6hnVivDCaPu7dQhqJqJmrS7/w5unHOxNLru+ yHhfD1P9UwrLQ/TKq/Sv1s2KisBn7BuCnLOgGajPxs3U2chDZD0Ss50H4EkHy18f97 RnKts3CsAOUKPhwfJpFdDpGeM90QZpi76Q+9tN28DSdf25JMJwdhtFRhqJrCzIzss/ Ax1YbFf7BIm4gDYd6y+rf/DCtnBc5GblaBCCKB+yVuh1OHoo0BN2tnOogNFoKFnP5X JZDCq6xpQVPeg== From: Frederic Weisbecker To: "Paul E . McKenney" Cc: LKML , Frederic Weisbecker , rcu , Uladzislau Rezki , Neeraj Upadhyay , Boqun Feng , Joel Fernandes Subject: [PATCH 0/4] rcu/nocb: Shrinker related boring fixes Date: Wed, 22 Mar 2023 20:44:52 +0100 Message-Id: <20230322194456.2331527-1-frederic@kernel.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Just a couple of boring fixes related to the shrinker. 1/4: is related to (de-)offloading so the issue only concerns rcutorture right now (which doesn't seem to test lazy so hardly possible to trigger). 2/4: fix ignored flush, making the shrinker more efficient but nothing critical. 3/4: optimization 4/4: optimization As such none of these patches carry a "Fixes:" because none fix an actual regression. Nothing worth backportng. Frederic Weisbecker (4): rcu/nocb: Protect lazy shrinker against concurrent (de-)offloading rcu/nocb: Fix shrinker race against callback enqueuer rcu/nocb: Recheck lazy callbacks under the ->nocb_lock from shrinker rcu/nocb: Make shrinker to iterate only NOCB CPUs kernel/rcu/tree_nocb.h | 43 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) -- 2.34.1