lmkd: use fd cache for cgroup migration am: 0162e0361f am: dbb9a69dc6 am: 022fa421c6 am: 7bfd31e6e3
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1833054 Change-Id: Ic052e7d46099f1cbfe42d81ac77e37df41639324
This commit is contained in:
commit
4bf3df28d2
2
lmkd.cpp
2
lmkd.cpp
|
|
@ -2036,7 +2036,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);
|
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);
|
ALOGW("Failed to set task_profiles on pid(%d) t_pid(%d)", pid, t_pid);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue