diff options
author | Suren Baghdasaryan <surenb@google.com> | 2018-05-18 14:42:00 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2018-05-22 10:25:38 -0700 |
commit | fe26dfb3bf347d801e4ef2803e1ffa3c924a851b (patch) | |
tree | b1e4cfa4f1ffc3cd2e1e97c8f30e0d0695925359 /libsparse/sparse_err.cpp | |
parent | c5fbf494e7400c53e724ff140512dc0040621d1d (diff) |
lmkd: Do not set soft_limit_in_bytes on high-end devices
Setting memory.soft_limit_in_bytes on high-end devices with large memory
reserves affects performance of memory-hungry applications that have
large workingsets and keep thrashing because of the memory limits imposed.
Limit the usage of memory.soft_limit_in_bytes to low-memory devices only.
Add debug messages for future troubleshooting to capture cases when
vmpressure events are being ignored.
Bug: 78916015
Test: collect vmstat while running a heavy app
Change-Id: Ib4434b96d2be802ef89960b573486eae8d12f198
Merged-In: Ib4434b96d2be802ef89960b573486eae8d12f198
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'libsparse/sparse_err.cpp')
0 files changed, 0 insertions, 0 deletions