summaryrefslogtreecommitdiff
path: root/rootdir/init.zygote32_64.rc
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@google.com>2015-10-26 16:22:11 -0700
committerTodd Kjos <tkjos@google.com>2015-11-16 14:57:47 -0800
commitba8a47531c5ebc5e1322088354d2114f6892f3fd (patch)
tree6452bfaa0c157968b6f1e97ab320d48e14fd96b6 /rootdir/init.zygote32_64.rc
parent2a3024f9ad923b5bb531804bb92d486635c1d24c (diff)
Actively mangage EAS schedtune nodes
Move foreground tasks to /sys/fs/cgroup/stune/boost/tasks (boosted weight in EAS scheduler). Move background tasks to /sys/fs/cgroup/stune/tasks (default weight). For services started with init, set "foreground" services to boosted. Change-Id: I0e489fad9510727c13e6754dabaf311c2391f395
Diffstat (limited to 'rootdir/init.zygote32_64.rc')
-rw-r--r--rootdir/init.zygote32_64.rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/rootdir/init.zygote32_64.rc b/rootdir/init.zygote32_64.rc
index 29bb1cf2e..1646c0f7e 100644
--- a/rootdir/init.zygote32_64.rc
+++ b/rootdir/init.zygote32_64.rc
@@ -5,10 +5,10 @@ service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-s
onrestart write /sys/power/state on
onrestart restart media
onrestart restart netd
- writepid /dev/cpuset/foreground/tasks
+ writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks
service zygote_secondary /system/bin/app_process64 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
class main
socket zygote_secondary stream 660 root system
onrestart restart zygote
- writepid /dev/cpuset/foreground/tasks \ No newline at end of file
+ writepid /dev/cpuset/foreground/tasks /sys/fs/cgroup/stune/foreground/tasks