diff mbox

[RFC] mm, oom: oom_free_timeout_ms can be static

Message ID 20180621105848.GA114615@lkp-hsx02 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu June 21, 2018, 10:58 a.m. UTC
Fixes: 45c6e373dd94 ("mm, oom: fix unnecessary killing of additional processes")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 oom_kill.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/mm/oom_kill.c b/mm/oom_kill.c
index 8a775c4..6b776b9 100644
--- a/mm/oom_kill.c
+++ b/mm/oom_kill.c
@@ -653,7 +653,7 @@  static int oom_reaper(void *unused)
  * Millisecs to wait for an oom mm to free memory before selecting another
  * victim.
  */
-u64 oom_free_timeout_ms = 1000;
+static u64 oom_free_timeout_ms = 1000;
 static void wake_oom_reaper(struct task_struct *tsk)
 {
 	/*