lmkd: move to foreground cpuset before killing am: 730e7a9248 am: c2fdae89e4 am: 7cc53280b3 am: efff2cd14b am: 44cd71066b
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1842588 Change-Id: Ib2a8367cdcf70d828555a7f4fbcd76a4a3b6d11c
This commit is contained in:
commit
b5c806179d
2
lmkd.cpp
2
lmkd.cpp
|
|
@ -2208,7 +2208,7 @@ static int kill_one_process(struct proc* procp, int min_oom_score, struct kill_i
|
|||
goto out;
|
||||
}
|
||||
|
||||
set_process_group_and_prio(pid, {"CPUSET_SP_BACKGROUND", "SCHED_SP_FOREGROUND"},
|
||||
set_process_group_and_prio(pid, {"CPUSET_SP_FOREGROUND", "SCHED_SP_FOREGROUND"},
|
||||
ANDROID_PRIORITY_HIGHEST);
|
||||
|
||||
last_kill_tm = *tm;
|
||||
|
|
|
|||
Loading…
Reference in New Issue