platform_system_core/lmkd
Suren Baghdasaryan aa73bafea7 lmkd: Allow killing multiple processes to downgrade memory pressure
(cherry pick from commit 65f54a2665)

Record free memory at low vmpressure levels and whenever pressure
increases beyond low free up enough memory to downgrade memory pressure
to low. This is done by freeing enough memory to get to the max free
memory levels seen during low vmpressure.
The kill logic for Go devices is not changed as these devices are designed
to operate under high memory pressure.

Bug: 63631020
Test: alloc-stress

Change-Id: Ic8396eee08013b1c709072a13525601d5c8bf1f1
Merged-In: Ic8396eee08013b1c709072a13525601d5c8bf1f1
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-03-02 01:14:13 +00:00
..
Android.bp lmkd: Remove stale dependency on libprocessgroup 2018-03-02 01:11:34 +00:00
lmkd.c lmkd: Allow killing multiple processes to downgrade memory pressure 2018-03-02 01:14:13 +00:00
lmkd.rc Enable hidepid=2 on /proc 2015-11-09 09:08:46 -08:00
OWNERS Add lmkd/OWNERS. 2017-12-08 16:12:58 -08:00