Skip to content
Commit 72be3d37 authored by Kenichi Ishibashi's avatar Kenichi Ishibashi
Browse files

Use isolated uid to set oom_score_adj

When a service is isolated, ProcessRecord.uid is different from
ProcessRecord.info.uid. We should use the former to set oom_score_adj.
Otherwize, lmkd fails to set memory.soft_limit_in_bytes for isolated
processes.

Bug: 64656396
Test: tested on gobo

Change-Id: I81fb1cf64f4680355365ad715b7c0ecd7ac560ed
parent b49fa218
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment