commit | 1d982ded6f731d60416dd3b75928cb951ae5f9b3 | [log] [tgz] |
---|---|---|
author | Juju Sung <juju.sung@mediatek.com> | Wed Feb 20 00:41:28 2019 +0800 |
committer | juju sung <juju.sung@mediatek.com> | Tue Feb 19 17:04:07 2019 +0000 |
tree | 0d8126651dfa8e800eeb815f653416133665ebc3 | |
parent | ce912aadda68e6f3f4261d78bb9564cdad7513ba [diff] |
lmkd: Remove redundant free swap and free memory check lmkd can't kill processes because it has compare the size between free swap and free memory. Free swap is often larger than the free memory when system is under low memory with less swap-backed or swappable pages and finally leads to I/O thrashing. Test: TreeHugger Bug: 124727769 Change-Id: Ia2848859aa97a24bd13c704acee4b86cd2d3f647