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
This commit is contained in:
Suren Baghdasaryan 2018-03-20 16:25:54 -07:00
parent 4311d1ed36
commit d07a94f973
1 changed files with 1 additions and 1 deletions

View File

@ -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);