Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5564854rwp; Mon, 17 Jul 2023 06:17:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKjmaWWQxadPwzfaY6BSBj56TtAPFyzDrCWFssdP5kXOWcVSiXJO1tg8NPOvKpWSaHug2q X-Received: by 2002:a05:6a21:6d98:b0:130:f6bc:9146 with SMTP id wl24-20020a056a216d9800b00130f6bc9146mr14936402pzb.14.1689599862127; Mon, 17 Jul 2023 06:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689599862; cv=none; d=google.com; s=arc-20160816; b=jpDlS5nP13LSp6OMeGwYnJW0R6NirpRwY7tGYzw9nyvbx7vINY/TtInKCZVJu/MLM7 Uh55Y4eBpavPkZCG/WL0bKykW8EWMYquR3FEoPBwncleL2fLNamlIRaUoiu/bTgTNB4q WK39XWNULYZCVjYtOhXN9IgccvdHdmSa5u0pYZC3qxwbhi/NfoWiGT2UpAwb3Y5Nyov+ T/1xfWYa7ad5oWEf0j5adFyhLNpsUqgEJwvUjeAX3l/6VICP+FGR9ypT/j/oPkEqwifG n69KY8liE5WCMeIm49iOEkGqepdwbM5WFntqz+vn/1qN7D5IkaeHfFOWgsFx7P5FW9ih p1tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=4YPXrSDRAI1Wvsk54evbV6+et0hDPpMbEgKCLV0r/JA=; fh=mdmT6c/wceGqD2AgWE5WmLDoBfnq2fYBjErT8t1Iqus=; b=DX44erCVFtN1ZzwSN0KqpGtM5/6fUiN9FQT6VUDsVW6RNkIdro/4i4xsmuHjsWmTtr 86u1Kp3248bnyJnA1XH4BEJodB0Tn0bkq2LhmL48RVFROLzWzoN5fsyt+zfp9RvG/X1b eZfDLGPUnWiYrTn1fqP++g/LKTMJ2BegWP7u72PaCDweZkK9ziZTEEUeU2lBd9Ml2uve K1AO0Ks4IpOixMisADcREIGo1temxTxv2SutpKpBX133IdzMgS3eK70QmKm2G9xwaw7x DSQRzx90I8zqc1IyXBT8JN/lLxjeBiIDfKNo5PefCr7EzVykg/Jf1BpVZDSyjtNJZOUa pM8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=EHatAVsh; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bv189-20020a632ec6000000b005347fcb7853si11411446pgb.140.2023.07.17.06.17.29; Mon, 17 Jul 2023 06:17:42 -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=@linutronix.de header.s=2020 header.b=EHatAVsh; dkim=neutral (no key) header.i=@linutronix.de; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230396AbjGQM6T (ORCPT + 99 others); Mon, 17 Jul 2023 08:58:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231313AbjGQM6I (ORCPT ); Mon, 17 Jul 2023 08:58:08 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 488CF10FB; Mon, 17 Jul 2023 05:57:42 -0700 (PDT) Date: Mon, 17 Jul 2023 12:56:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1689598574; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4YPXrSDRAI1Wvsk54evbV6+et0hDPpMbEgKCLV0r/JA=; b=EHatAVshL7cC1A4+CVBBmyfc4zBk8+QCvcXZrKpphpedbdXQNu/Jy32Er0e0B+744Paj+4 SR9tQAVIFStlakRU42dasKFhVnZrs5F83+ESynjHeWm/t5sNbR1RUmivRbCd8YrcnDAA+N USG+tyvbTzYwicK4G4d2DEy3M6Kj34DY46IMeOt6crPcg4N+i8L3AFMPQkw9FIxZA31rik EmBtvD2feOxSM9eMn637l+64Ih4ROgF+0zUpHznkgbTceV9XDGDlK79jIZwhdYEt8HafCg c2VABfnXEoW7qhdA4LIk0qiV3XFGmIh7+rGxcg19lZWGVL9Of8+N3rxapbFhlA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1689598574; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4YPXrSDRAI1Wvsk54evbV6+et0hDPpMbEgKCLV0r/JA=; b=3y0wKKFdYP0oFqJcbUvdZ5E0gzKr/jM2K6scUhsCxCOYrUR4UGN8ayeKT4IvJMRdEbVVJ2 UiOH+B4JoAPSlcDA== From: "tip-bot2 for Miaohe Lin" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/core] sched/psi: make psi_cgroups_enabled static Cc: Miaohe Lin , "Peter Zijlstra (Intel)" , Suren Baghdasaryan , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230525103428.49712-1-linmiaohe@huawei.com> References: <20230525103428.49712-1-linmiaohe@huawei.com> MIME-Version: 1.0 Message-ID: <168959857356.28540.9279418825754491164.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 The following commit has been merged into the sched/core branch of tip: Commit-ID: 35cd21f6292c6656aaab6066a1fa13cd11ca27f5 Gitweb: https://git.kernel.org/tip/35cd21f6292c6656aaab6066a1fa13cd11ca27f5 Author: Miaohe Lin AuthorDate: Thu, 25 May 2023 18:34:28 +08:00 Committer: Peter Zijlstra CommitterDate: Thu, 13 Jul 2023 15:21:50 +02:00 sched/psi: make psi_cgroups_enabled static The static key psi_cgroups_enabled is only used inside file psi.c. Make it static. Signed-off-by: Miaohe Lin Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Suren Baghdasaryan Link: https://lore.kernel.org/r/20230525103428.49712-1-linmiaohe@huawei.com --- kernel/sched/psi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c index 81fca77..2ccb0b2 100644 --- a/kernel/sched/psi.c +++ b/kernel/sched/psi.c @@ -140,7 +140,7 @@ static int psi_bug __read_mostly; DEFINE_STATIC_KEY_FALSE(psi_disabled); -DEFINE_STATIC_KEY_TRUE(psi_cgroups_enabled); +static DEFINE_STATIC_KEY_TRUE(psi_cgroups_enabled); #ifdef CONFIG_PSI_DEFAULT_DISABLED static bool psi_enable;