diff options
author | Charan Teja Reddy <charante@codeaurora.org> | 2020-04-30 14:48:14 +0530 |
---|---|---|
committer | charan teja reddy <charante@codeaurora.org> | 2020-05-13 12:48:58 +0000 |
commit | 8c71260d2be38db21b8277f583c0a0eb47d9ff38 (patch) | |
tree | ce8cdba39a7b9c20f8776f465dbded7698f078b1 /libutils/RefBase.cpp | |
parent | 026b9ad5848530a80433001037aea3421d1276e3 (diff) |
lmkd: fix kill logic for super critical event
When new PSI events are triggered while in polling, we still call the
handler for the current serving event before processing. This logic can
work well while serving the medium/critical event because of the free
memory level check in zone_watermarks_ok() but for a supercritical event
this is a problem as there are minimum two guaranteed kills, one in the
polling and other when processing the new events, resulting into the
overkills. Fix it.
CRs-Fixed: 2676277
Change-Id: If04f70b2d7333214d02c53cb9970efcda11af636
Diffstat (limited to 'libutils/RefBase.cpp')
0 files changed, 0 insertions, 0 deletions