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

Commit 75603fb7 authored by Martijn Coenen's avatar Martijn Coenen Committed by Rom Lemarchand
Browse files

Stop setting swappiness.

We're re-enabling memory cgroups on Ariel
to use user-space lmkd. As a side-effect, this
code will start setting swappiness again. Since the
benefit of swappiness is unknown at this point
(see b/18248535 for details), disable it until
we have good data it helps.

Change-Id: I8e8b892ba0db27469f2d47615f71ce1d2712acbf
parent fb175933
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -18707,8 +18707,6 @@ public final class ActivityManagerService extends ActivityManagerNative
                        }
                    }
                }
                Process.setSwappiness(app.pid,
                        app.curSchedGroup <= Process.THREAD_GROUP_BG_NONINTERACTIVE);
            }
        }
        if (app.repForegroundActivities != app.foregroundActivities) {