Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3255579iog; Mon, 20 Jun 2022 15:22:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tKZdkr/B5o5s4gFT5g9njMN7dccyhmG6ZMl3bXmCD9JvAULs3pA39IcY9Ql0OHgkndDo2g X-Received: by 2002:a05:6402:1597:b0:435:88fb:5b1d with SMTP id c23-20020a056402159700b0043588fb5b1dmr6158267edv.316.1655763724310; Mon, 20 Jun 2022 15:22:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655763724; cv=none; d=google.com; s=arc-20160816; b=kjjBepHwhW7VsjKlnDHQUXVizy2/wiil9tODUDnm/r8FBAVU2EIDpiTKvM00+JAjIY IuNG9m64WmZCJ0IpMzZiE9C+Cvh/YMZmI+O3/wdPAlKqHz3yVe5eVgB6U6ykflK6xJOR RVZ8v5B8fDvldFy6NqbgcGH0osuctbOto0tb8J6NW1q6znjBQq80lhdlxMU0U57f/ae9 NMraYOw97VBX1/Rn8Y+gCBoWiNVIFq3tzu9fPiHBshmTXmQVBev7RVANczzsb8xR3WXD +DWPCwbPWILfK8rTHm4RuMwGEI6eZ7DAihN0trg+FktNwUOI4Pxkk8v/szM73GcluRjK IZqQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QcNmtJfxWfWjalHtSTirpH+AkEc8H3eTizPICtbI2bk=; b=xeRxkPUBuHloGfcwhAMpjg/P0zPbzLlndZM0ApQGH/uGkb+mUkQ3KvFujXOo3k2wFi dpAdbgCEjGlcleRgCSOpiHFd89GzOtErMNaHIGtUobMJ2Y0PFd1Picg5NrLDcF2tRv/J /aVJdGXI73gBELLzUHJ22OroAiapfM45kRsCdRRdhOJef6b3mTXpoQZodKvVFm0KJ1Qf YLk68GcHpuGLoJqzK5joA68Wwe1CAmt0RNNjqXNhjKZ5Ajy5rBmxCl49RUzOEWnJ+4/n sl8RD0nNMKEFAppu1PiHiXmX5o4TkLxBM3Zx338AQAA1e5CnETgBc3RLlO5UX4/gLsJV 5R+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Yh6XneSO; 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 hg5-20020a1709072cc500b006fe8ee84794si10656881ejc.370.2022.06.20.15.21.39; Mon, 20 Jun 2022 15:22:04 -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=Yh6XneSO; 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 S243864AbiFTWSE (ORCPT + 99 others); Mon, 20 Jun 2022 18:18:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbiFTWSC (ORCPT ); Mon, 20 Jun 2022 18:18:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11470DF33; Mon, 20 Jun 2022 15:18:01 -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 ams.source.kernel.org (Postfix) with ESMTPS id 863A7B81649; Mon, 20 Jun 2022 22:18:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DF85C3411B; Mon, 20 Jun 2022 22:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655763479; bh=04DJ1/1K8PMW4hsTpIKiSFs2fsEYB7ypcGETpqL6l6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Yh6XneSOsTIuYKGdQ++TLQCmIn/BYK6nrobeOl1jgzTzwLrNcoUTpNZyzzbqap/kk O6o9WifBkPji0iir0MewLIADsuAvXjU8dJHxSg4xRx7h35cTfb7hMvYFVuBQV/ApYm 9dplx2KQdUgDdlUWMRxMtURVmL5pIa+Bz8/901zV7eyzfkfuGAeZdeZPeRjRMMHIQ7 17NvNC7wmIfgcKE6le7c2Vs8ZVEqLkv/2+FKpujPGaFlg79vlvA5VTciC+2/Dfo+TN 9WrXTtrEUiGETQC+ENn6p/ta0FCdqiR9ZYYdsiPd3WFhwFp7VIw3VonQB+m+e7OIOh qNtg3SAs6bO9A== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D834A5C05C8; Mon, 20 Jun 2022 15:17:58 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, rostedt@goodmis.org, "Paul E. McKenney" , Eric Dumazet Subject: [PATCH rcu 2/3] doc: Document the rcutree.rcu_divisor kernel boot parameter Date: Mon, 20 Jun 2022 15:17:56 -0700 Message-Id: <20220620221757.3839212-2-paulmck@kernel.org> X-Mailer: git-send-email 2.31.1.189.g2e36527f23 In-Reply-To: <20220620221733.GA3839136@paulmck-ThinkPad-P17-Gen-1> References: <20220620221733.GA3839136@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 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 This commit adds kernel-parameters.txt documentation for the rcutree.rcu_divisor kernel boot parameter, which controls the softirq callback-invocation batch limit. Cc: Eric Dumazet Signed-off-by: Paul E. McKenney --- Documentation/admin-guide/kernel-parameters.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index 2522b11e593f2..bdf431bdbfdc4 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4666,6 +4666,21 @@ When RCU_NOCB_CPU is set, also adjust the priority of NOCB callback kthreads. + rcutree.rcu_divisor= [KNL] + Set the shift-right count to use to compute + the callback-invocation batch limit bl from + the number of callbacks queued on this CPU. + The result will be bounded below by the value of + the rcutree.blimit kernel parameter. Every bl + callbacks, the softirq handler will exit in + order to allow the CPU to do other work. + + Please note that this callback-invocation batch + limit applies only to non-offloaded callback + invocation. Offloaded callbacks are instead + invoked in the context of an rcuoc kthread, which + scheduler will preempt as it does any other task. + rcutree.rcu_nocb_gp_stride= [KNL] Set the number of NOCB callback kthreads in each group, which defaults to the square root -- 2.31.1.189.g2e36527f23