diff options
author | Charan Teja Reddy <charante@codeaurora.org> | 2020-04-30 15:41:25 +0530 |
---|---|---|
committer | charan teja reddy <charante@codeaurora.org> | 2020-05-13 12:49:28 +0000 |
commit | 843c7523420c50656ac106c65f2491885409cfd2 (patch) | |
tree | e964593e8f3b5f64cf96d60d719682c7b0e60a33 /libsparse/sparse.cpp | |
parent | 8c71260d2be38db21b8277f583c0a0eb47d9ff38 (diff) |
lmkd: improve the logic for upgraded super critical event
On lowram targets, it is easy to have the upgraded supercritical
event which is resulting into the overkills. Thus always make sure that
enough number of pages are scanned in direct and kswapd reclaims before
taking the decission and reset the upgraded supercritical event once it
is handled.
CRs-Fixed: 2676277
Change-Id: I22e7981cfa44d9fac3f4e535f8cc8d7e93dd2a37
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions