diff options
author | Tim Murray <timmurray@google.com> | 2015-09-02 11:27:55 -0700 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2015-09-02 11:39:05 -0700 |
commit | bc8c731aab0fce447e2b792f443aa5b6d72f55f2 (patch) | |
tree | 367ccf3a605d5c54d40df1d7b96edc4e7306c267 /rootdir | |
parent | 68df4bd08bfb550456cc8edb19fa894a124db38c (diff) | |
download | system_core-bc8c731aab0fce447e2b792f443aa5b6d72f55f2.zip system_core-bc8c731aab0fce447e2b792f443aa5b6d72f55f2.tar.gz system_core-bc8c731aab0fce447e2b792f443aa5b6d72f55f2.tar.bz2 |
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')
-rw-r--r-- | rootdir/init.zygote32.rc | 2 | ||||
-rw-r--r-- | rootdir/init.zygote32_64.rc | 2 | ||||
-rw-r--r-- | rootdir/init.zygote64.rc | 2 | ||||
-rw-r--r-- | rootdir/init.zygote64_32.rc | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/rootdir/init.zygote32.rc b/rootdir/init.zygote32.rc index 75961e6..ff25ac2 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 diff --git a/rootdir/init.zygote32_64.rc b/rootdir/init.zygote32_64.rc index 68c0668..29bb1cf 100644 --- a/rootdir/init.zygote32_64.rc +++ b/rootdir/init.zygote32_64.rc @@ -5,8 +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 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 diff --git a/rootdir/init.zygote64.rc b/rootdir/init.zygote64.rc index afb6d63..5497524 100644 --- a/rootdir/init.zygote64.rc +++ b/rootdir/init.zygote64.rc @@ -5,4 +5,4 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s onrestart write /sys/power/state on onrestart restart media onrestart restart netd - + writepid /dev/cpuset/foreground/tasks diff --git a/rootdir/init.zygote64_32.rc b/rootdir/init.zygote64_32.rc index 979ab3b..8ed5e9e 100644 --- a/rootdir/init.zygote64_32.rc +++ b/rootdir/init.zygote64_32.rc @@ -5,8 +5,10 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s onrestart write /sys/power/state on onrestart restart media onrestart restart netd + writepid /dev/cpuset/foreground/tasks service zygote_secondary /system/bin/app_process32 -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 |