Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 345bff45 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

codec2: 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: I0aee4462953f1c7d43c020ecf60544254e85a4f9
parent 40954523
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,5 +3,5 @@ service android-hardware-media-c2-hal-1-2 /vendor/bin/hw/android.hardware.media.
    user mediacodec
    group camera mediadrm drmrpc
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks
    task_profiles ProcessCapacityHigh