diff options
author | Suren Baghdasaryan <surenb@google.com> | 2018-05-18 14:42:00 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2018-05-21 23:17:46 +0000 |
commit | 20686f061eebddb7d49d9a061fc736dad0b96c93 (patch) | |
tree | b0abfa98196ccf3cb4b72500e565c7bac79e81ba /trusty/coverage/coverage.cpp | |
parent | 34de3c84feeda18880d25ba4e58536b7416eae1f (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 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions