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
This commit is contained in:
parent
68df4bd08b
commit
bc8c731aab
4 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue