Merge "lmkd: Fix the message printed during a kill to avoid confusion" am: 5ea2c4baf1
am: ccb9744562 Change-Id: I45960a335ad426fdd69a2a36268ddfc425f92de0
This commit is contained in:
commit
0fa401c7b6
2
lmkd.c
2
lmkd.c
|
|
@ -750,7 +750,7 @@ static int kill_one_process(struct proc* procp, int min_score_adj,
|
||||||
r = kill(pid, SIGKILL);
|
r = kill(pid, SIGKILL);
|
||||||
ALOGI(
|
ALOGI(
|
||||||
"Killing '%s' (%d), uid %d, adj %d\n"
|
"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,
|
taskname, pid, uid, procp->oomadj, tasksize * page_k,
|
||||||
level_name[level], min_score_adj);
|
level_name[level], min_score_adj);
|
||||||
pid_remove(pid);
|
pid_remove(pid);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue