Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f59eb0e authored by Konsta's avatar Konsta Committed by Ethan Chen
Browse files

lowmemorykiller: Fix high min-free values

AOSP commit 5a150e44 was supposed
to increase min-free levels for 64-bit only. Instead it increases
it for everyone. This restores previous values that are consistently
50% bigger than values used in KitKat. Values for two largest min-
free buckets are still overriden for 64-bit.

Change-Id: I8beca86d8b3a389e68e864143e241dd0b1531613
parent 01dc8846
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -177,7 +177,7 @@ final class ProcessList {
    // 1280x800 or larger screen with around 1GB RAM.  Values are in KB.
    private final int[] mOomMinFreeHigh = new int[] {
            73728, 92160, 110592,
            129024, 225000, 325000
            129024, 147456, 184320
    };
    // The actual OOM killer memory levels we are using.
    private final int[] mOomMinFree = new int[mOomAdj.length];