Skip to content

Commit

Permalink
lmkd: use fd cache for cgroup migration
Browse files Browse the repository at this point in the history
Test: Build
Bug: 199797672
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie7a9eb9676c58309f1407c5f8cc59b302f107d38
  • Loading branch information
weivincewang authored and kdrag0n committed Oct 5, 2021
1 parent 130c294 commit 8c6d514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmkd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,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;
}
Expand Down

0 comments on commit 8c6d514

Please sign in to comment.