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

Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment