summaryrefslogtreecommitdiff
path: root/libutils/String16.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2018-01-17 17:28:01 -0800
committerSuren Baghdasaryan <surenb@google.com>2018-03-02 01:15:01 +0000
commit63dadcf79e788a8850c4113eaa2bc58b7efe545a (patch)
treecfbe56c854c56e14091eecaa2fdf529acfabb7ff /libutils/String16.cpp
parentaa73bafea7515794eca4fb27ffe634e65c450915 (diff)
lmkd: Implement kill timeout
(cherry pick from commit caa2dc56fd52d8d773aa8b902fc605b453111976) New ro.lmk.kill_timeout_ms property defines timeout in ms after a successful kill cycle for more kills to be considered. This is necessary because memory pressure after a kill does not go down instantly and system needs time to reflect new memory state. This timeout prevents extra kills in the period immediately after a kill cycle. By default it is set to 0 which disables this feature. Bug: 63631020 Test: alloc-stress Change-Id: Ia847118c8c4a659a7fc38cd5cd0042acb514ae28 Merged-In: Ia847118c8c4a659a7fc38cd5cd0042acb514ae28 Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'libutils/String16.cpp')
0 files changed, 0 insertions, 0 deletions