summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2017-12-08 13:17:06 -0800
committerSuren Baghdasaryan <surenb@google.com>2018-03-02 01:09:12 +0000
commitb93764db9c52b49edfc10962884e98bf6450d5cb (patch)
tree9026e7e790a13c31e1fd81d0151fb4a4b1105bd0 /trusty/coverage/coverage_test.cpp
parente5c9643119ca32ce0175a1119b410f393f74dfa7 (diff)
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>
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions