From patchwork Mon Jul 17 18:11:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul E. McKenney" X-Patchwork-Id: 13316220 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D510AC001DF for ; Mon, 17 Jul 2023 18:11:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230490AbjGQSLn (ORCPT ); Mon, 17 Jul 2023 14:11:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230400AbjGQSLm (ORCPT ); Mon, 17 Jul 2023 14:11:42 -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 6E6F4E56; Mon, 17 Jul 2023 11:11:41 -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 BCD52611E3; Mon, 17 Jul 2023 18:11:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2272AC433CC; 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=iPtCMMiG5ZGO7GsFZLh6YccNSibZpzaW5K9xmTwhpgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QcXWYrGpMinTfmdViiWkd9mQysD+Go9tXJgs3XfLV5bLrSHz6SPrJMmHApgqRQGmG 6w9y72m2Nakf5y8KoQvVnncQJiRngN+zxTi9Olyzgf5nR7Sab57qmSL9G+JDQlQm/g zJVtaqxU0gnSTO1Q/QAbmjMZ9nIXrUUKHpIYCyT9lPPU5cKob9xOKvOkBeCgoxui9W Ks7epyA4TCqo1hcYcZgTDyygwQJg6horlLjLpY5RQqUcIRoOTcOC2hqdz9nWD2zcxp cmIBl/yX6f1SMagxkPEvLIFl4fOUa4TL9aSiDCwOs49aF9FdS4Lw0z5BmJRCgysFYX 3txmTNdZJ3LMA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id B7244CE0902; 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 05/13] rcuscale: Print out full set of kfree_rcu parameters Date: Mon, 17 Jul 2023 11:11:30 -0700 Message-Id: <20230717181138.1098063-5-paulmck@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: rcu@vger.kernel.org Signed-off-by: Paul E. McKenney Cc: Uladzislau Rezki (Sony) --- kernel/rcu/rcuscale.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/rcu/rcuscale.c b/kernel/rcu/rcuscale.c index 18f1b0e13604..821a3e65c54a 100644 --- a/kernel/rcu/rcuscale.c +++ b/kernel/rcu/rcuscale.c @@ -708,6 +708,10 @@ kfree_scale_init(void) unsigned long jif_start; unsigned long orig_jif; + pr_alert("%s" SCALE_FLAG + "--- kfree_rcu_test: kfree_mult=%d kfree_by_call_rcu=%d kfree_nthreads=%d kfree_alloc_num=%d kfree_loops=%d kfree_rcu_test_double=%d kfree_rcu_test_single=%d\n", + scale_type, kfree_mult, kfree_by_call_rcu, kfree_nthreads, kfree_alloc_num, kfree_loops, kfree_rcu_test_double, kfree_rcu_test_single); + // Also, do a quick self-test to ensure laziness is as much as // expected. if (kfree_by_call_rcu && !IS_ENABLED(CONFIG_RCU_LAZY)) {