gts3l-common: rootdir/etc: 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 Refers to: https://review.lineageos.org/c/LineageOS/android_device_xiaomi_gauguin/+/324467 Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I0005d141f15713f277d1de3be46fd3c25de8deef
This commit is contained in:
parent
2b3b20f7b4
commit
cdbbc337a1
1 changed files with 2 additions and 2 deletions
|
@ -535,7 +535,7 @@ service vendor.ipacm /system/vendor/bin/ipacm
|
|||
class late_start
|
||||
user radio
|
||||
group radio inet
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
task_profiles ProcessCapacityHigh HighPerformance
|
||||
|
||||
service vendor.dataqti /system/vendor/bin/qti
|
||||
class main
|
||||
|
@ -997,5 +997,5 @@ 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
|
||||
capabilities BLOCK_SUSPEND
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh HighPerformance
|
||||
onrestart restart audioserver
|
||||
|
|
Loading…
Reference in a new issue