lmkd: move to foreground cpuset before killing am: 730e7a9248 am: c2fdae89e4 am: 7cc53280b3 am: efff2cd14b

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

Change-Id: I205a26b8f45d42c471a6145cdbcebc4be1b4ee7a
This commit is contained in:
Wei Wang 2021-10-01 18:23:39 +00:00 committed by Automerger Merge Worker
commit 44cd71066b
1 changed files with 1 additions and 1 deletions

View File

@ -2208,7 +2208,7 @@ static int kill_one_process(struct proc* procp, int min_oom_score, struct kill_i
goto out; 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); ANDROID_PRIORITY_HIGHEST);
last_kill_tm = *tm; last_kill_tm = *tm;