Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7c40bdd7 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Don't collect all reverse reachable processes on oom update

Only the immediate clients of the target processes are needed when
performing a partial update, since the clients not in the target process
list will not change. This means their set procState and oomAdj can be
trusted to represent all the reverse reachable process.
Also don't bother handling cycles, all clients that are part of a cycle
with target processes will already be in the target process list.

Test: atest MockingOomAdjusterTests
Bug: 311472557
Change-Id: I7f4387f84c166f06cc3cf8c2bf0b0773415c0f5e
parent 121a0b3d
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