commit | dd50b2f45d2f176f18c52aac08fb400a76b18547 | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Thu Jun 17 18:58:30 2021 -0700 |
committer | Suren Baghdasaryan <surenb@google.com> | Wed Jun 23 18:43:27 2021 +0000 |
tree | fb224b28082b69317f42122e6d0f41d4d3cb6a47 | |
parent | e3dc2f88b281ed597fbecd8e462c00e718a39100 [diff] |
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: I249ecc45a001a69d73b06b77154f9b6e5f9964d9
diff --git a/drm/1.0/default/android.hardware.drm@1.0-service-lazy.rc b/drm/1.0/default/android.hardware.drm@1.0-service-lazy.rc index 4b32f7f..e5ae5cd 100644 --- a/drm/1.0/default/android.hardware.drm@1.0-service-lazy.rc +++ b/drm/1.0/default/android.hardware.drm@1.0-service-lazy.rc
@@ -7,4 +7,4 @@ user media group mediadrm drmrpc ioprio rt 4 - writepid /dev/cpuset/foreground/tasks + task_profiles ProcessCapacityHigh
diff --git a/drm/1.0/default/android.hardware.drm@1.0-service.rc b/drm/1.0/default/android.hardware.drm@1.0-service.rc index 790eded..2aba187 100644 --- a/drm/1.0/default/android.hardware.drm@1.0-service.rc +++ b/drm/1.0/default/android.hardware.drm@1.0-service.rc
@@ -5,4 +5,4 @@ user media group mediadrm drmrpc ioprio rt 4 - writepid /dev/cpuset/foreground/tasks + task_profiles ProcessCapacityHigh