All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sched/psi: make psi_cgroups_enabled static
@ 2023-05-25 10:34 Miaohe Lin
  2023-05-25 17:43 ` Suren Baghdasaryan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Miaohe Lin @ 2023-05-25 10:34 UTC (permalink / raw)
  To: hannes, surenb, mingo, peterz, juri.lelli, vincent.guittot
  Cc: dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
	linux-kernel, linmiaohe

The static key psi_cgroups_enabled is only used inside file psi.c.
Make it static.

Signed-off-by: Miaohe Lin <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 81fca77397f6..2ccb0b2ebd78 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;
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-07-17 12:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-25 10:34 [PATCH] sched/psi: make psi_cgroups_enabled static Miaohe Lin
2023-05-25 17:43 ` Suren Baghdasaryan
2023-05-25 17:49 ` Johannes Weiner
2023-06-17  2:01   ` Miaohe Lin
2023-07-06 10:29   ` Peter Zijlstra
2023-07-17 12:56 ` [tip: sched/core] " tip-bot2 for Miaohe Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.