lmkd: use fd cache for cgroup migration
Test: Build
Bug: 199797672
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie7a9eb9676c58309f1407c5f8cc59b302f107d38
Merged-In: Ie7a9eb9676c58309f1407c5f8cc59b302f107d38
(cherry picked from commit 0162e0361f)
This commit is contained in:
parent
90f3c9e5c6
commit
328e612f1b
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);
|
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