Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5911539rwp; Mon, 17 Jul 2023 11:23:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlEZi0I7i/BLfW1NzKBNQYX8wIHVRPAgzhmZ+bFL3gBoBLfKk9tcywDKG1wb/1gqxzaebAAf X-Received: by 2002:a05:6a00:1143:b0:682:713e:e520 with SMTP id b3-20020a056a00114300b00682713ee520mr243087pfm.8.1689618213985; Mon, 17 Jul 2023 11:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689618213; cv=none; d=google.com; s=arc-20160816; b=adBxfxOTK+oaHMjbrXnPx7hu+nYrfJIpuTd3O327QRUE3RDa0mbI/ACE6pMjnYYKKW pJt68/fM7/Aia3MuEh+amcALar740k7ZjAcKqidRQHPPyttokVUWrga6d/2JLUKSqkWy VEOKNyiwfQOCQ7FSY/Uk+LaQ9qrh0bpglR6mBjBa6e1fT0Qv8UaIbKcaAQ7k/CIZRkQZ h+jw9FePWhYiQjWdtQPArPZHamSFZuCoHskgAH8iT+K6zCv5ZLwSwZHJ0jLttBemwezm MGg2KTM2s8/oD8umAw7IT60OTxWfAoAzLcz0OAQkqvLYzTXWB6ZdlBxLCosy+ABHQQUg mzWQ== 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=+BOmms+DLji4da2lrMREaFJdEe02xurWyzMPo5aIQ44=; fh=u+Fywpy9AOQ2voyTdmveKcwYt6fk3Lz+8mu0vMa9jk8=; b=b52pjswz79UViIU4dTRNMqKx2whIQ/Lhfnq2WzbPTlZB+thRvc5yiFnfL5eh6+Gacp nw1D7J0PV94qaXWxcDzliBMHulloTHK1FJ4GAwbVLw2TINvHhy1vtIeGYMAU5Dq/q7Ad /8OAkUw+CM3VO5BrPBt6SKBEKfZ3GqGzlbA3gXGHcf1wiHet9SIsDZp5OfcJJQDhT7AK g/Ix7VOveYpvIXR/lWsyJ0IZGKfP5iabsOVzw8Osm2yHYyu0B874dtRuFMN2ScXnlUh1 nbLY1Vf1gZR5UCIoW2EqkJxiz91pdclcgGw9Hor8dQw9nuIAKl7rN89rf+qN4CbfwBoc GQXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s93362Xb; 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 t189-20020a6381c6000000b0053b8f80c63dsi149969pgd.734.2023.07.17.11.23.21; Mon, 17 Jul 2023 11:23:33 -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=s93362Xb; 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 S231661AbjGQSMQ (ORCPT + 99 others); Mon, 17 Jul 2023 14:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231222AbjGQSLp (ORCPT ); Mon, 17 Jul 2023 14:11:45 -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 12D6BE76; Mon, 17 Jul 2023 11:11:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 23FC9611E6; Mon, 17 Jul 2023 18:11:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4D2B4C433AB; Mon, 17 Jul 2023 18:11:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689617500; bh=y5uffG7fOu/TEaIPCaJCZFkXOa/V0l/2zCRZKeCBBW4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s93362XbjDt0y86fgUncbBlGLqFyFbcWFytxSLBYFw9hy/yHVawRoA8uzCunf1q7p tPQpGyi6+YDM6LyDY1yWFgFuJ+2+qnofFEf527wein1w8ID9jpTThjGgbefxNWpvoL fll5l+LThX6QsgLZ0ukxBFprE+TOY5A02qSICXnv/IZETgQ3fAWsM+wOdm3sQ8RJ2q rvYAlyl0CHvMKS+kCqAgHFYLct605CTufn5vWXjEhD0raRtxLDGsrlm4QcAFS11+mT giSO8h/6SgLONX2OvjbLJbGIk/WiVvqxjgGrUoyjbhy0rx+btBBvQT0WKWU+2o2rlI GMi2In6+R0pKw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id BBBC9CE0930; Mon, 17 Jul 2023 11:11:39 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, "Paul E. McKenney" , Uladzislau Rezki Subject: [PATCH rcu 07/13] rcuscale: Add kfree_by_call_rcu and kfree_mult to documentation Date: Mon, 17 Jul 2023 11:11:32 -0700 Message-Id: <20230717181138.1098063-7-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 This commit adds the kfree_by_call_rcu and kfree_mult rcuscale module parameters to kernel-parameters.txt. While in the area, it updates to rcuscale.scale_type. Signed-off-by: Paul E. McKenney Cc: Uladzislau Rezki (Sony) --- Documentation/admin-guide/kernel-parameters.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index a6888e3dfc20..3329dc22f53b 100644 --- a/Documentation/admin-guide/kernel-parameters.txt +++ b/Documentation/admin-guide/kernel-parameters.txt @@ -4928,6 +4928,15 @@ test until boot completes in order to avoid interference. + rcuscale.kfree_by_call_rcu= [KNL] + In kernels built with CONFIG_RCU_LAZY=y, test + call_rcu() instead of kfree_rcu(). + + rcuscale.kfree_mult= [KNL] + Instead of allocating an object of size kfree_obj, + allocate one of kfree_mult * sizeof(kfree_obj). + Defaults to 1. + rcuscale.kfree_rcu_test= [KNL] Set to measure performance of kfree_rcu() flooding. @@ -4973,7 +4982,7 @@ the same as for rcuscale.nreaders. N, where N is the number of CPUs - rcuscale.perf_type= [KNL] + rcuscale.scale_type= [KNL] Specify the RCU implementation to test. rcuscale.shutdown= [KNL] -- 2.40.1