sm8150-common: Replace writepid with task_profiles command
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: Ibb56d2379c42e5ed4b2f15c1b04d5fb163b48678
This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -23,5 +23,5 @@ service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
|
|||||||
user media
|
user media
|
||||||
group media mediadrm drmrpc system
|
group media mediadrm drmrpc system
|
||||||
ioprio rt 4
|
ioprio rt 4
|
||||||
writepid /dev/cpuset/foreground/tasks
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
capabilities SYS_NICE
|
capabilities SYS_NICE
|
||||||
+1
-1
@@ -7,7 +7,7 @@ service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetwork
|
|||||||
class hal
|
class hal
|
||||||
user system
|
user system
|
||||||
group system
|
group system
|
||||||
writepid /dev/stune/nnapi-hal/tasks
|
task_profiles NNApiHALPerformance
|
||||||
|
|
||||||
#Below changes moved from init.target.rc as part of go/FR53051
|
#Below changes moved from init.target.rc as part of go/FR53051
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ service vendor-qti-media-c2-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2@1.0-servi
|
|||||||
user mediacodec
|
user mediacodec
|
||||||
group mediadrm camera drmrpc system
|
group mediadrm camera drmrpc system
|
||||||
ioprio rt 4
|
ioprio rt 4
|
||||||
writepid /dev/cpuset/foreground/tasks
|
task_profiles ProcessCapacityHigh HighPerformance
|
||||||
|
|
||||||
Reference in new issue
Block a user