Revert "lmkd: Disable critical thrashing limit by default" am: dded82877f

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/lmkd/+/15362664

Change-Id: I7505587d94ee01ca23832a0da46d7ec6b18c133e
This commit is contained in:
Suren Baghdasaryan 2021-07-22 23:14:23 +00:00 committed by Automerger Merge Worker
commit 35d2d8dd18
1 changed files with 1 additions and 1 deletions

View File

@ -3429,7 +3429,7 @@ static void update_props() {
thrashing_limit_decay_pct = clamp(0, 100, property_get_int32("ro.lmk.thrashing_limit_decay",
low_ram_device ? DEF_THRASHING_DECAY_LOWRAM : DEF_THRASHING_DECAY));
thrashing_critical_pct = max(0, property_get_int32("ro.lmk.thrashing_limit_critical",
INT_MAX));
thrashing_limit_pct * 2));
swap_util_max = clamp(0, 100, property_get_int32("ro.lmk.swap_util_max", 100));
filecache_min_kb = property_get_int64("ro.lmk.filecache_min_kb", 0);
}