Merge "Only apply schedTune boost to top-app tasks" into nyc-mr1-dev
am: 87a4f046f0
* commit '87a4f046f01ff49d69e4ff2446266c29557fb5e1':
Only apply schedTune boost to top-app tasks
Change-Id: I32ec1f0811971a527234672cadeeddcb50fd1369
This commit is contained in:
commit
e7b8d06f18
|
@ -294,7 +294,7 @@ int set_cpuset_policy(int tid, SchedPolicy policy)
|
|||
case SP_AUDIO_APP:
|
||||
case SP_AUDIO_SYS:
|
||||
fd = fg_cpuset_fd;
|
||||
boost_fd = fg_schedboost_fd;
|
||||
boost_fd = bg_schedboost_fd;
|
||||
break;
|
||||
case SP_TOP_APP :
|
||||
fd = ta_cpuset_fd;
|
||||
|
|
|
@ -7,4 +7,4 @@ service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-sys
|
|||
onrestart restart cameraserver
|
||||
onrestart restart media
|
||||
onrestart restart netd
|
||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
|
|
@ -7,10 +7,10 @@ service zygote /system/bin/app_process32 -Xzygote /system/bin --zygote --start-s
|
|||
onrestart restart cameraserver
|
||||
onrestart restart media
|
||||
onrestart restart netd
|
||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
||||
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 /dev/stune/foreground/tasks
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
|
|
@ -7,4 +7,4 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s
|
|||
onrestart restart cameraserver
|
||||
onrestart restart media
|
||||
onrestart restart netd
|
||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
|
|
@ -7,10 +7,10 @@ service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-s
|
|||
onrestart restart cameraserver
|
||||
onrestart restart media
|
||||
onrestart restart netd
|
||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
||||
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 /dev/stune/foreground/tasks
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
|
|
Loading…
Reference in New Issue