[RFC PATCH] mm, oom: oom_free_timeout_ms can be static
From: kbuild test robot
Date: Thu Jun 21 2018 - 06:59:27 EST
Fixes: 45c6e373dd94 ("mm, oom: fix unnecessary killing of additional processes")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
oom_kill.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
{
/*