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

Commit cf3395b3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove LRU spam prevention, as it's breaking the LRU." into main

parents 2f0809b8 2a9e5ad8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3805,6 +3805,13 @@ public final class ProcessList {
            }

        }

        if (Flags.removeLruSpamPrevention()) {
            // Return early to disable the LRU spam prevention implemented below, as it's breaking
            // the LRU by spreading processes.
            return;
        }

        // To keep it from spamming the LRU list (by making a bunch of clients),
        // we will distribute other entries owned by it to be in-between other apps.
        int i = endIndex;
+8 −0
Original line number Diff line number Diff line
@@ -129,6 +129,14 @@ flag {
    bug: "378580264"
}

flag {
    name: "remove_lru_spam_prevention"
    namespace: "backstage_power"
    is_fixed_read_only: true
    description: "Remove LRU spam prevention, as it's breaking the LRU"
    bug: "421872956"
}

flag {
    name: "cpu_time_capability_based_freeze_policy"
    namespace: "backstage_power"