Message ID | 168959857356.28540.9279418825754491164.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1104175vqt; Mon, 17 Jul 2023 06:15:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlGCGSl3qHJMghXPdaLQ2DRV5xPdDIuyaxnHSngMcXi2k6KFhgP22mCU3hfKd5b3ODsA+f83 X-Received: by 2002:a17:902:c3c6:b0:1b8:1c9e:444e with SMTP id j6-20020a170902c3c600b001b81c9e444emr12199635plj.25.1689599732972; Mon, 17 Jul 2023 06:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689599732; cv=none; d=google.com; s=arc-20160816; b=X0hHebp7BBZxZ3NMBjnGjZ4aWDiTaM9kiLgqEgh9vjm5UoU8YFGJ7Ai4B4+KhkmBFI kXtyah+lRR0A2C/52RWAccHSWxS8LiE4ZqNVmnu14ydv/cCxMtM+r+2Abn7TMVRp5isW P0qc02QNA+TT0rVgdDwjm3bnQgjkPrtjrNCdkVglLZhHB03opl6xpaQoiatIZBsYH5Sb Crf5qFQKaFuE+wioI42r/8r8xG9YV4LkHXlaGMeOUCSDqGnmqP95twq4JVBx0l/iUKzH 6o7Phq3hJh/ddcbE5mRrBQkfK/qub9lGbDNuJmvV72eq1s2Lf2WxNtbTGrwj9E2T5dwm +dNA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kx14-20020a170902f94e00b001b8b48a5e81si11059417plb.314.2023.07.17.06.15.19; Mon, 17 Jul 2023 06:15:32 -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 S229903AbjGQM6U (ORCPT <rfc822;hadasmailinglist@gmail.com> + 99 others); Mon, 17 Jul 2023 08:58:20 -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 <rfc822;linux-kernel@vger.kernel.org>); 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" <tip-bot2@linutronix.de> 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 <linmiaohe@huawei.com>, "Peter Zijlstra (Intel)" <peterz@infradead.org>, Suren Baghdasaryan <surenb@google.com>, 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: <tip-bot2@linutronix.de> Robot-Unsubscribe: Contact <mailto:tglx@linutronix.de> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1766834012048098039 X-GMAIL-MSGID: 1771673729355927584 |
Series |
[tip:,sched/core] sched/psi: make psi_cgroups_enabled static
|
|
Commit Message
tip-bot2 for Thomas Gleixner
July 17, 2023, 12:56 p.m. UTC
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 <linmiaohe@huawei.com> AuthorDate: Thu, 25 May 2023 18:34:28 +08:00 Committer: Peter Zijlstra <peterz@infradead.org> 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 <linmiaohe@huawei.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Suren Baghdasaryan <surenb@google.com> 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;