Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7628224rwr; Wed, 10 May 2023 10:26:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4O43AN6+6bT2Rz9ypLDu6VJgcQA5PA0QyJtbw7y4HABoAekpZnM3vrmCzJNcSkeV+2iaJX X-Received: by 2002:a17:903:483:b0:1aa:dba2:d155 with SMTP id jj3-20020a170903048300b001aadba2d155mr17576238plb.48.1683739572950; Wed, 10 May 2023 10:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683739572; cv=none; d=google.com; s=arc-20160816; b=OcX2p6jd/2ihL3t4wn3iEjt77tdZGXLCQLybrjZ4qem4jlPiW3pxQQNKn7Qb9k3UcU fMn3sV7lngGgTcGklXnxlQR/QWtjYAl5Fcm0f+yhUSHnv4HfCCS+vV8cHEs/F+yyJ48z CpIMVU0OhWWKERFX8kLy0bYOKi0/I1V5LSRfJojA5IIFZH+4hUhsSoGSUKlyD5cZ2MBX 1x/7ec3p8Xkh/FMoY5cEg+q1EcV5s0Yhk+6FHvdVgcoR6pv+RtLFhWbCXLFlUfjKP/bC XhKcEpVLmcVbdnszkcVnCnvmoOn2g8mIkJFtLa9i1eabzPfXwlvLOxMZpwGSevKcB1Iv M0fg== 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=MxazxHAIZZ0mXcCoE+8E4U/aqnm1rS7Wwfin7EnF/jE=; b=h2zxtfbLZz62EMfAvkkMRff2gmKIbTW+YB7EVDUxGjnoOP+2vnzTcdaECWaPo2FsC9 W2d2tBwxeydH7go+OCC9ZmtemC+Xat8NEQQyH3yozPDaEZ//uYL0/+58h3atmuer0VT/ sXfwUiNzxDaJzaHhw5FTHhiq2PwhQPYe1Q3ekb3meLoxT93l6N5fCrCwA1eEI4pydkiT HRyrA5XbL4GP2U4Ql/4RIvuWbrtP8mS2Ra0+jtEHarvKX62J3IfiVWBd007fh80Tmqfr 1+tg9U+6HDNl7l89WEnZV3Bqa8YZa6FPr4KycFBB3Gi09Im9+uYu5nSujP5qYe+rYSdZ 4Qyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lXj8D5hA; 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 w23-20020a1709027b9700b0019926d9c734si4259423pll.602.2023.05.10.10.25.57; Wed, 10 May 2023 10:26:12 -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=lXj8D5hA; 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 S236489AbjEJRKX (ORCPT + 99 others); Wed, 10 May 2023 13:10:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236398AbjEJRKU (ORCPT ); Wed, 10 May 2023 13:10:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFC9461A4; Wed, 10 May 2023 10:10:11 -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 4547863F5C; Wed, 10 May 2023 17:10:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A0FD4C4339C; Wed, 10 May 2023 17:10:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683738610; bh=2vHnCxDdEjl1hV7GlAl3zhTie+jGwjNjCH+DRd3wZeM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lXj8D5hA+XUKPUVg6o1HB50vuz2mgx9FQ02KKsPsK0pnIegyoXYwGc4mfFKawi6bH CCck9Bg1t5ksc2WX5qFrS5x2myCRvj/shZTvO50ZBlvz9AfZvUkdmPmln9K3OYd6BJ 5uUK7m2Ov70w8BGydtboVM4THwcVzeslLXLxd1IttUNK1CQKeEqQruATKVtAFarYjr TLiiWgaaMMO+vlamLkEVCyqHl1nH7BEwO4vaG3NTGIa9Lp2ZcsGcPyu//Moli6+FIe mmOvzEm/Yl9PAnj7QWEzfQQdpH0NlYafkmDrJOvEqCfnsh2vM1phqptRDVrjEEUumr 5aJeHxJNxz/gw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 4A7AFCE1279; Wed, 10 May 2023 10:10:10 -0700 (PDT) From: "Paul E. McKenney" To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@meta.com, rostedt@goodmis.org, Zqiang , "Paul E . McKenney" Subject: [PATCH rcu 2/2] rcu-tasks: Clarify the cblist_init_generic() function's pr_info() output Date: Wed, 10 May 2023 10:10:09 -0700 Message-Id: <20230510171009.2189185-2-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=-7.1 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 From: Zqiang This commit uses rtp->name instead of __func__ and outputs the value of rcu_task_cb_adjust, thus reducing console-log output. Signed-off-by: Zqiang Signed-off-by: Paul E. McKenney --- kernel/rcu/tasks.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h index 65df1aaf0ce9..cf7b00af9474 100644 --- a/kernel/rcu/tasks.h +++ b/kernel/rcu/tasks.h @@ -272,10 +272,8 @@ static void cblist_init_generic(struct rcu_tasks *rtp) } raw_spin_unlock_irqrestore(&rtp->cbs_gbl_lock, flags); - if (rcu_task_cb_adjust) - pr_info("%s: Setting adjustable number of callback queues.\n", __func__); - - pr_info("%s: Setting shift to %d and lim to %d.\n", __func__, data_race(rtp->percpu_enqueue_shift), data_race(rtp->percpu_enqueue_lim)); + pr_info("%s: Setting shift to %d and lim to %d rcu_task_cb_adjust=%d.\n", rtp->name, + data_race(rtp->percpu_enqueue_shift), data_race(rtp->percpu_enqueue_lim), rcu_task_cb_adjust); } // IRQ-work handler that does deferred wakeup for call_rcu_tasks_generic(). -- 2.40.1