From d07a94f97369468eb4e8105e401cf7a0808fb20e Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Tue, 20 Mar 2018 16:25:54 -0700 Subject: [PATCH] lmkd: Fix the message printed during a kill to avoid confusion Current kills message prints min_score_adj marked as "oom_adj" which is confusing. This change marks it as "min_oom_adj" to be more clear. Change-Id: If52f0fb25fe3208c928c5d6adce77c04b9f15a0e --- lmkd/lmkd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmkd/lmkd.c b/lmkd/lmkd.c index 916317820..72f9f7b24 100644 --- a/lmkd/lmkd.c +++ b/lmkd/lmkd.c @@ -755,7 +755,7 @@ static int kill_one_process(struct proc* procp, int min_score_adj, r = kill(pid, SIGKILL); ALOGI( "Killing '%s' (%d), uid %d, adj %d\n" - " to free %ldkB because system is under %s memory pressure oom_adj %d\n", + " to free %ldkB because system is under %s memory pressure (min_oom_adj=%d)\n", taskname, pid, uid, procp->oomadj, tasksize * page_k, level_name[level], min_score_adj); pid_remove(pid);