+ psi-make-psi_enable-static.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: psi: make psi_enable static
has been added to the -mm tree.  Its filename is
     psi-make-psi_enable-static.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/psi-make-psi_enable-static.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/psi-make-psi_enable-static.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Suren Baghdasaryan <surenb@xxxxxxxxxx>
Subject: psi: make psi_enable static

psi_enable is not used outside of psi.c, make it static.

Link: http://lkml.kernel.org/r/20190319235619.260832-3-surenb@xxxxxxxxxx
Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
Suggested-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- a/kernel/sched/psi.c~psi-make-psi_enable-static
+++ a/kernel/sched/psi.c
@@ -140,9 +140,9 @@ static int psi_bug __read_mostly;
 DEFINE_STATIC_KEY_FALSE(psi_disabled);
 
 #ifdef CONFIG_PSI_DEFAULT_DISABLED
-bool psi_enable;
+static bool psi_enable;
 #else
-bool psi_enable = true;
+static bool psi_enable = true;
 #endif
 static int __init setup_psi(char *str)
 {
_

Patches currently in -mm which might be from surenb@xxxxxxxxxx are

psi-introduce-state_mask-to-represent-stalled-psi-states.patch
psi-make-psi_enable-static.patch
psi-rename-psi-fields-in-preparation-for-psi-trigger-addition.patch
psi-rename-psi-fields-in-preparation-for-psi-trigger-addition-v6.patch
psi-split-update_stats-into-parts.patch
psi-track-changed-states.patch
refactor-header-includes-to-allow-kthreadh-inclusion-in-psi_typesh.patch
psi-introduce-psi-monitor.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux