Skip to content
Snippets Groups Projects
Commit fd24abea authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

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: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: Ib242aba3f59c412aaea1f2e7f65a5c500e14dfd9
parent b323613d
No related branches found
No related tags found
No related merge requests found
...@@ -3,5 +3,5 @@ service android-hardware-media-c2-v4l2-hal-1-0 /vendor/bin/hw/android.hardware.m ...@@ -3,5 +3,5 @@ service android-hardware-media-c2-v4l2-hal-1-0 /vendor/bin/hw/android.hardware.m
user media user media
group mediadrm drmrpc group mediadrm drmrpc
ioprio rt 4 ioprio rt 4
writepid /dev/cpuset/foreground/tasks task_profiles ProcessCapacityHigh
setenv MESA_GLSL_CACHE_DISABLE 1 setenv MESA_GLSL_CACHE_DISABLE 1
...@@ -3,5 +3,5 @@ service android-hardware-media-c2-v4l2-hal-1-0 /vendor/bin/hw/android.hardware.m ...@@ -3,5 +3,5 @@ service android-hardware-media-c2-v4l2-hal-1-0 /vendor/bin/hw/android.hardware.m
user media user media
group mediadrm drmrpc group mediadrm drmrpc
ioprio rt 4 ioprio rt 4
writepid /dev/cpuset/foreground/tasks task_profiles ProcessCapacityHigh
setenv MESA_GLSL_CACHE_DISABLE 1 setenv MESA_GLSL_CACHE_DISABLE 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment