Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3483969iog; Mon, 20 Jun 2022 22:31:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tp8OtX5BIHH1+D5Bkb6WnE4YtpDyYyfOMbnsQprQ7dGl+VRbAZJvJkmg18QEHkeBcbQn4B X-Received: by 2002:a05:6402:294c:b0:435:2155:fbe8 with SMTP id ed12-20020a056402294c00b004352155fbe8mr33146766edb.256.1655789468580; Mon, 20 Jun 2022 22:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655789468; cv=none; d=google.com; s=arc-20160816; b=XE7yIBF4ommyYozN51/kRxaBQtqkjiYwf/XuErcM2XPm0MVQIKWtwHTpcOacWBsslf ieWMZWuv0hS0I7PEP3MPlWHs1Q+mEOPNoOdgxghIkaENzOHanCIRsWNezkTl70g/PWLr 3Qp/DNkyUOGVphxipx4tw28Qu3hI0FzqRBH6Dd9eslh/SxBF9mfp3bvDy2AbWIvMDFFZ 6z2ipXjSJE2H4Pl0MAbJUNdTJ/Ca7zL65UCY1mB7h2FUerXW2aFy7kYUYoVzbKItPbMk iTITbIufGz7bqFf99niPA0WgNeLCRHlFkf4Hzt2MKJWo8DvmN1DP8/qIJ2AeELXeawCF 9NSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=DjJMR92QYWj6k70zoT1/F5wl329J/DDEyFJrt7RMfaI=; b=cJilANQDOQ+80OsAp5MV8JoZ7xXBKa8TMvU81Ida4y/CSXP+1zezKVnQxq0tPR/Bsl Hw7dptn/OveERng7cQJ2ZGgKBaQIytvv78NBcSqxPGhtRQNs0lIAR3rkEFcKv2uHHBGY rKP4wldxEgh+Ir4zK4+kKCBwe3D+sSmNfOzdA41CDV/7PfqgqXnPA5fCezeWaZgDKJFp 1McGeY9yr/RaOtmdIK15IFrY2+lOG+nTMK7S9kOs+t+2vQnXhsoMUOa2ObhiIf+TMRJD GOYsgEYKhTQg3rdViX0UuGfJW5FEvUH/o8y4KLl5ItLq3xI4DIRDPgCTjIe5aqJl+FIN YEag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b="Wpq/04Db"; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf38-20020a1709077f2600b006fed9433169si17535247ejc.826.2022.06.20.22.30.43; Mon, 20 Jun 2022 22:31:08 -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=@quicinc.com header.s=qcdkim header.b="Wpq/04Db"; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233729AbiFUFRQ (ORCPT + 99 others); Tue, 21 Jun 2022 01:17:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343981AbiFUFRO (ORCPT ); Tue, 21 Jun 2022 01:17:14 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 464C220F5D; Mon, 20 Jun 2022 22:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1655788634; x=1687324634; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=DjJMR92QYWj6k70zoT1/F5wl329J/DDEyFJrt7RMfaI=; b=Wpq/04DbTJ/uvQ30/mnE9QsVTfY8wKzisGXJZugyxXV2Gn0DnAA8DLxQ Cj9rH5S9HirU7PG081yjV6OkNghqqZL67IhUcuG3KLnKQAdeEIB4f9cXP o67w7YSMdBfc9NOzuPkyZ8KJa2wESEMtgk8RZups+YuVfiD8y9VfC0YkY U=; Received: from ironmsg-sd-alpha.qualcomm.com ([10.53.140.30]) by alexa-out.qualcomm.com with ESMTP; 20 Jun 2022 22:17:14 -0700 X-QCInternal: smtphost Received: from nasanex01b.na.qualcomm.com ([10.46.141.250]) by ironmsg-SD-alpha.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jun 2022 22:10:59 -0700 Received: from [10.50.44.13] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Mon, 20 Jun 2022 22:10:57 -0700 Message-ID: Date: Tue, 21 Jun 2022 10:40:54 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH rcu 2/3] doc: Document the rcutree.rcu_divisor kernel boot parameter Content-Language: en-US To: "Paul E. McKenney" , CC: , , , Eric Dumazet References: <20220620221733.GA3839136@paulmck-ThinkPad-P17-Gen-1> <20220620221757.3839212-2-paulmck@kernel.org> From: Neeraj Upadhyay In-Reply-To: <20220620221757.3839212-2-paulmck@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 On 6/21/2022 3:47 AM, Paul E. McKenney wrote: > 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 > --- Reviewed-by: Neeraj Upadhyay > 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