summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2018-04-13 13:53:43 -0700
committerSuren Baghdasaryan <surenb@google.com>2018-04-17 01:42:06 +0000
commitffdc4ddb2544352f7061668007acfb53fc589557 (patch)
tree6a1ddeb147ff4b934397211a9cc647397acc5f64 /trusty/coverage/coverage.cpp
parent9926e57ee89a1d4de296ee1cb7113bdb215ef79d (diff)
lmkd: Introduce support for legacy kill algorithm that uses minfree levels
Add ability to switch to the algorithm used by lowmemorykiller driver for determining when to kill. It uses minfree levels to decide at which levels of free memory and file cache to kill a process. oom_adj_score is also determined by comparing current memory resources against minfree levels. ro.lmk.use_minfree_levels property is introduces for switching into this mode. By default it is disabled. Bug: 77299493 Bug: 75322373 Change-Id: I6b51972951026854a079fcda33d6786b7ed035e4 Merged-In: I6b51972951026854a079fcda33d6786b7ed035e4 Signed-off-by: Suren Baghdasaryan <surenb@google.com> (cherry picked from commit d273b6630d47d6bb32996bcc87e01a73240cb228)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions