Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d07a94f9 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

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
parent 4311d1ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);