lmkd: move to foreground cpuset before killing am: e80774f4b7

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15956952

Change-Id: I61c3eea83e48d139813d987831b1a72eb7d051d9
This commit is contained in:
Wei Wang 2021-10-01 20:34:18 +00:00 committed by Automerger Merge Worker
commit c69a10f2e2
1 changed files with 1 additions and 1 deletions

View File

@ -2191,7 +2191,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;