sdm660-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: If0a64b9f335ad13f65522361b125cab951002a2c Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
parent
5a2083830c
commit
96b67cba6d
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.
|
||||||
class late_start
|
class late_start
|
||||||
user system
|
user system
|
||||||
group system uhid input
|
group system uhid input
|
||||||
writepid /dev/cpuset/system-background/tasks
|
task_profiles ServiceCapacityLow
|
||||||
|
|
||||||
service vendor.goodix_script /vendor/bin/init.goodix.sh
|
service vendor.goodix_script /vendor/bin/init.goodix.sh
|
||||||
class late_start
|
class late_start
|
||||||
|
|
|
@ -597,6 +597,6 @@ 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
|
||||||
socket audio_hw_socket seqpacket 0666 system system
|
socket audio_hw_socket seqpacket 0666 system system
|
||||||
onrestart restart audioserver
|
onrestart restart audioserver
|
||||||
|
|
Loading…
Reference in a new issue