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

Commit f8bbc4bc authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

drmserver: 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: I643019d480e5f399b93693b7edd03599aebf37d3
parent 10058d06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ service drm /system/bin/drmserver
    class main
    user drm
    group drm system inet drmrpc readproc
    writepid /dev/cpuset/foreground/tasks
    task_profiles ProcessCapacityHigh

on property:drm.service.enabled=true
    start drm