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: If3e351ff118ea4eb395f71a7e2e0ace5b62b77c0
This commit is contained in:
@@ -9,4 +9,4 @@ service vendor.drm-widevine-hal /vendor/bin/hw/android.hardware.drm-service-lazy
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
|
||||
@@ -7,4 +7,4 @@ service vendor.drm-widevine-hal /vendor/bin/hw/android.hardware.drm-service.wide
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
|
||||
@@ -23,4 +23,4 @@ service vendor.drm-widevine-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-serv
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
|
||||
@@ -22,4 +22,4 @@ service vendor.drm-widevine-hal-1-2 /vendor/bin/hw/android.hardware.drm@1.2-serv
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
|
||||
@@ -25,5 +25,5 @@ service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
capabilities SYS_NICE
|
||||
|
||||
@@ -23,5 +23,5 @@ service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
capabilities SYS_NICE
|
||||
|
||||
@@ -27,4 +27,4 @@ service vendor.drm-widevine-hal-1-4 /vendor/bin/hw/android.hardware.drm@1.4-serv
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
|
||||
@@ -25,4 +25,4 @@ service vendor.drm-widevine-hal-1-4 /vendor/bin/hw/android.hardware.drm@1.4-serv
|
||||
user media
|
||||
group media mediadrm drmrpc system
|
||||
ioprio rt 4
|
||||
writepid /dev/cpuset/foreground/tasks
|
||||
task_profiles ProcessCapacityHigh
|
||||
|
||||
Reference in New Issue
Block a user