diff options
author | Charan Teja Reddy <charante@codeaurora.org> | 2020-04-30 12:40:35 +0530 |
---|---|---|
committer | charan teja reddy <charante@codeaurora.org> | 2020-05-13 12:48:42 +0000 |
commit | 026b9ad5848530a80433001037aea3421d1276e3 (patch) | |
tree | 454b792c02838cf61946a21a96127f8cd532fe67 /libutils/Unicode.cpp | |
parent | 04734ad7ead50a99052536a73cb48b2e42253f7d (diff) |
lmkd: skip kill in a polling window under no memory reclaim
When lmkd receives PSI event, it can perform kills in a polling window
with a duration of poll_period interval. Now say a first kill in the
window frees up lot of memory(say kill of a temple run application),
thus the system also stopped memory reclaim to balance the zones, the
successive kills in the window are unnecessary. This indirectly effect
the concurrency in system. This is already taken care for the medium or
critical events through free memory check in zone_watermarks_ok. Fix it
for supercritical events.
CRs-Fixed: 2676277
Change-Id: I1ba0394158e7bb8a0e40d1a071d5ef362a01ba77
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions