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

Skip to content
Commit 0160e5cc authored by Michael Wachenschwanz's avatar Michael Wachenschwanz
Browse files

Skip traversing unimportant connections

A connection from a client to host process only needs to be evaluated if
the client is more important than the host is some dimension. Otherwise,
the connection can be skipped.

Also, if none of the targets of an update has a reduction in importance,
the reachable processes do not need to be recalculated before traversal
because their importance values can only stay the same or increase.

(Enable/disable with adb shell device_config put backstage_power
com.android.server.am.skip_unimportant_connections true/false)

Bug: 323376416
Test: atest MockingOomAdjusterTests

Change-Id: I1b7dcad4bb20036e41e0dbc88c002540600afb93
parent e801982c
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