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

Skip to content
Commit b446ce58 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Handle groups and importance in cached oom_adj distribution.

The code for distributing the oom_adj level across the cached
processes now takes in to account the group and importance as
it goes through them, to keep groups together.

As part of this, increase the number of cached oom_adj slots
we have to 100, allowing more room for distributing regular
processes and space between them for applying importance.  This
gives 5 slots for importance levels; if someone uses more than
5, all of the lower ones will get stuck together at the end.

Test: atest CtsAppTestCases:ServiceTest\#testActivityServiceBindingLru
Bug: 111434506
Change-Id: Ia4ec0552b824a031c2a2d62c9e42ebf446e3e5c3
parent 16171a30
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