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:
Sebastiano Barezzi committed 2026-09-15 23:03:07 +02:00
1 parent 748d662bf8
commit eea30efdd3
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
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
task_profiles ProcessCapacityHigh HighPerformance
capabilities SYS_NICE