Go to file
Suren Baghdasaryan 742897f28c lmkd: add logic to kill the heaviest of the eligible processes
(cherry pick from commit 662492ab1d21f138483a8f3943483924e8779d29)

Killing the most memory-demanding process from the set of eligible
processes yields better results on high-performance devices than
killing the first one we could find. This is in line with how in-kernel
lowmemorykiller driver chooses its victims.

Bug: 63631020
Test: alloc-stress

Change-Id: Ie1ef7f33f3e79698a9b4120c14490386d6129f9b
Merged-In: Ie1ef7f33f3e79698a9b4120c14490386d6129f9b
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2018-03-02 01:09:12 +00:00
Android.bp lmkd: Android.mk -> Android.bp 2017-04-28 15:20:18 -07:00
OWNERS Add lmkd/OWNERS. 2017-12-08 16:12:58 -08:00
lmkd.c lmkd: add logic to kill the heaviest of the eligible processes 2018-03-02 01:09:12 +00:00
lmkd.rc Enable hidepid=2 on /proc 2015-11-09 09:08:46 -08:00