lmkd: use fd cache for cgroup migration
Test: Build Bug: 199797672 Signed-off-by: Wei Wang <wvw@google.com> Change-Id: Ie7a9eb9676c58309f1407c5f8cc59b302f107d38
This commit is contained in:
parent
0195bcdba7
commit
0162e0361f
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