Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2615594rwo; Thu, 3 Aug 2023 12:04:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlFVQx8wIs5Pu1waKi4ulBwxF1Cid2x//+j8f0NzjSirpWpkcnA2qigAWVG9hL06+fKgOiXC X-Received: by 2002:a17:906:92:b0:99c:4111:1881 with SMTP id 18-20020a170906009200b0099c41111881mr5943602ejc.35.1691089455179; Thu, 03 Aug 2023 12:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691089455; cv=none; d=google.com; s=arc-20160816; b=oBV73hMRWmL4htIQObLt/NM1uU/2GRIzZ/+BBbL8Y3EwHXoH/D6f3I+1w0Jw1syeL8 Q/t4G+pO6n2SpfgN+JB3/XGvBcRLXcR2qQgA3zfPDonYGySUj3/WHQerJbPEEYn3nEvx ZvgxsnossyD+iLXq6t6qWdFFt3J6vhsKGg70KAANpfnsMM25deym2hEF7/m9/sSRJoAQ /0aww8pEsa3Ywzkvbu5Kj4k5vlM/rlNhgXSSlrJ+9lOPSlh7NsPuxSMypWKljHyzvCC9 M+DiNQz94tDGXuN+2TMnUKDdtKTnYOjhg9hUy1TtEnRhd2zY9oug0y4fFHmbCDifcOr0 6WWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=I/T+7c2C8B/sGETvX/DzBHEMklGV1HJVdRJ1AzocLGI=; fh=LIrJePuFkD+4l2QrddIOmn6MsInfbfzzlvMwyi0ONMk=; b=bU7vYF+N2kx82Zu6CI0y9wQcYLhMPILAfG3wVO6HM4h3R14mvcq2prrtHYyb64Ft6V o1GTFeuNH3EywG6nFs2+1Mjs2VwnNHEhm6d4DJi32UW+hd6ibSV9mqZVgQ6bs+kM/0k8 Aua0VrkOizi/O2Py+ruVp73qYCUASEg2eEzD//4o9Cf3+QbY1qjwFYsAg7FJbpzfiZWd XLf9ImrvyEViJamWQc2dvA8/S0zNxeaQrLVPYCsjmoG3uDO2EvR4Xix73TRq4+bW13ju 0Ibrpsz9rQgjfK07K+qbKx28hMWd0IxMotxBb8fe4c8zRMTdb2/43zszCkJgzA/tUPDc c3ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=rhef91QC; 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 rv1-20020a17090710c100b0098dd9f4ed69si306340ejb.707.2023.08.03.12.03.50; Thu, 03 Aug 2023 12:04:15 -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=rhef91QC; 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 S232997AbjHCSka (ORCPT + 99 others); Thu, 3 Aug 2023 14:40:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjHCSk3 (ORCPT ); Thu, 3 Aug 2023 14:40:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A14AF2D49 for ; Thu, 3 Aug 2023 11:40:28 -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 4014C61E5A for ; Thu, 3 Aug 2023 18:40:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9592DC433C8; Thu, 3 Aug 2023 18:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691088027; bh=SlK3Ox+0ocdJwi3DN3CTapz5xzAtyIxIzcSd4bpqXOg=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=rhef91QCTzzwkOvo/b0d4FWvvVMuUF0Y2yw/lKo/0FQxrkjMNZ4HQLntHMgm8BbpJ bUs59qwHRz2EBUK2A+9EVngHwGSqFBjVK7Q1cwCx4p2sORfwVtRub8v5Pc3zI/tj9l K5rgU5kEE4oULCS67QalPVGKDyB+Mh+1rAeEd9pPRiGFopxAup+yXP284xYI5u8ox8 iLG/ZT6Z4Z33OrhsPwz2zhYJxB7AzNFMeKxDIO+u/i0j4QPiiHr4YuWAkoh0rKgCq+ S299bgtxldp4r51/qJ8t2RX1/iA+g9xD0IULjcV+om+olHfqqYHU0UZ/j+yPaxXXDI SSbr0uINCyyDA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 274CBCE0AE0; Thu, 3 Aug 2023 11:40:27 -0700 (PDT) Date: Thu, 3 Aug 2023 11:40:27 -0700 From: "Paul E. McKenney" To: Joel Fernandes Cc: Jiapeng Chong , frederic@kernel.org, quic_neeraju@quicinc.com, josh@joshtriplett.org, boqun.feng@gmail.com, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, qiang.zhang1211@gmail.com, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] rcu-tasks: make rcu_tasks_lazy_ms static Message-ID: Reply-To: paulmck@kernel.org References: <20230803080659.99071-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 On Thu, Aug 03, 2023 at 12:11:41PM -0400, Joel Fernandes wrote: > On Thu, Aug 3, 2023 at 4:07 AM Jiapeng Chong > wrote: > > > > The rcu_tasks_lazy_ms are not used outside the file tasks.h, so the > > modification is defined as static. > > > > kernel/rcu/tasks.h:1085:5: warning: symbol 'rcu_tasks_lazy_ms' was not declared. Should it be static? > > > > Reported-by: Abaci Robot > > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6086 > > Signed-off-by: Jiapeng Chong > > Reviewed-by: Joel Fernandes (Google) Queued, thank you both! Thanx, Paul > - Joel > > > > --- > > kernel/rcu/tasks.h | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/kernel/rcu/tasks.h b/kernel/rcu/tasks.h > > index 83049a893de5..ee1379671798 100644 > > --- a/kernel/rcu/tasks.h > > +++ b/kernel/rcu/tasks.h > > @@ -1084,7 +1084,7 @@ void rcu_barrier_tasks(void) > > } > > EXPORT_SYMBOL_GPL(rcu_barrier_tasks); > > > > -int rcu_tasks_lazy_ms = -1; > > +static int rcu_tasks_lazy_ms = -1; > > module_param(rcu_tasks_lazy_ms, int, 0444); > > > > static int __init rcu_spawn_tasks_kthread(void) > > -- > > 2.20.1.7.g153144c > >