summaryrefslogtreecommitdiff
path: root/rootdir/init.zygote32.rc
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2015-09-02 11:27:55 -0700
committerTim Murray <timmurray@google.com>2015-09-02 11:39:05 -0700
commitbc8c731aab0fce447e2b792f443aa5b6d72f55f2 (patch)
tree367ccf3a605d5c54d40df1d7b96edc4e7306c267 /rootdir/init.zygote32.rc
parent68df4bd08bfb550456cc8edb19fa894a124db38c (diff)
Add zygote to the foreground cpuset.
This ensures that newly forked zygote processes will end up in the corret cpuset. bug 23751126 Change-Id: I987a2828cf2504963f1317d17f0b51d26cf22a70
Diffstat (limited to 'rootdir/init.zygote32.rc')
-rw-r--r--rootdir/init.zygote32.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/init.zygote32.rc b/rootdir/init.zygote32.rc
index 75961e6e8..ff25ac227 100644
--- a/rootdir/init.zygote32.rc
+++ b/rootdir/init.zygote32.rc
@@ -5,4 +5,4 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
onrestart write /sys/power/state on
onrestart restart media
onrestart restart netd
-
+ writepid /dev/cpuset/foreground/tasks