lmkd: use fd cache for cgroup migration am: 0162e0361f am: dbb9a69dc6 am: 022fa421c6
Original change: https://android-review.googlesource.com/c/platform/system/memory/lmkd/+/1833054 Change-Id: I0405e4cf84706d15bf97fda53e8f5711943ca9f5
This commit is contained in:
commit
7bfd31e6e3
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);
|
||||
}
|
||||
|
||||
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