lmkd: use fd cache for cgroup migration am: 328e612f1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15881156 Change-Id: I8dc4aca715668b3f0208721a877b3ca29e4f07a3
This commit is contained in:
commit
820a3c1c33
2
lmkd.cpp
2
lmkd.cpp
|
|
@ -2015,7 +2015,7 @@ static void set_process_group_and_prio(int pid, const std::vector<std::string>&
|
|||
ALOGW("Unable to raise priority of killing t_pid (%d): errno=%d", t_pid, errno);
|
||||
}
|
||||
|
||||
if (!SetTaskProfiles(t_pid, profiles)) {
|
||||
if (!SetTaskProfiles(t_pid, profiles, true)) {
|
||||
ALOGW("Failed to set task_profiles on pid(%d) t_pid(%d)", pid, t_pid);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue