sm7250-common: Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor of a more flexible approach using task_profiles. This way cgroup path is not hardcoded and cgroup changes can be easily made. Replace writepid with task_profiles command to migrate between cgroups. Bug: 191283136 Test: build and boot Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I22cbf3383f3686c4964e4b55e53d4cdb8ea5a7da Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com> Signed-off-by: firebird11 <hbgassel@gmail.com>
This commit is contained in:
committed by
Sandeep P S
parent
6c804a71dc
commit
c82cb6f4bd
@@ -997,7 +997,7 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
|
|||||||
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock
|
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock
|
||||||
capabilities BLOCK_SUSPEND
|
capabilities BLOCK_SUSPEND
|
||||||
ioprio rt 4
|
ioprio rt 4
|
||||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
onrestart restart audioserver
|
onrestart restart audioserver
|
||||||
|
|
||||||
on property:init.svc.cnss_diag=running
|
on property:init.svc.cnss_diag=running
|
||||||
|
|||||||
Reference in New Issue
Block a user