Merge "lmkd: use ALOGE for logging kills" into qt-dev
am: cc18faf4d6 Change-Id: I51e496d8e5ffa102585dbfaabf8878e9d6bd6c71
This commit is contained in:
commit
b99e0df08b
4
lmkd.c
4
lmkd.c
|
|
@ -1373,8 +1373,8 @@ static int kill_one_process(struct proc* procp, int min_oom_score) {
|
||||||
set_process_group_and_prio(pid, SP_FOREGROUND, ANDROID_PRIORITY_HIGHEST);
|
set_process_group_and_prio(pid, SP_FOREGROUND, ANDROID_PRIORITY_HIGHEST);
|
||||||
|
|
||||||
inc_killcnt(procp->oomadj);
|
inc_killcnt(procp->oomadj);
|
||||||
ALOGI("Kill '%s' (%d), uid %d, oom_adj %d to free %ldkB",
|
ALOGE("Kill '%s' (%d), uid %d, oom_adj %d to free %ldkB", taskname, pid, uid, procp->oomadj,
|
||||||
taskname, pid, uid, procp->oomadj, tasksize * page_k);
|
tasksize * page_k);
|
||||||
|
|
||||||
TRACE_KILL_END();
|
TRACE_KILL_END();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue