commit | b5e9cdaf7e4a88daeaba9e37cd8c4bbef0a11749 | [log] [tgz] |
---|---|---|
author | Suren Baghdasaryan <surenb@google.com> | Tue Mar 22 15:59:54 2022 +0000 |
committer | Suren Baghdasaryan <surenb@google.com> | Fri Apr 08 00:41:35 2022 +0000 |
tree | 0b7c5040eaf04957dcdae5e87e5338ed6da846ed | |
parent | dc1a419baf664fb2acfa6dd41a76e341cd17bfb6 [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: Icbf3e66e61e7ebb570ac3aba5f1cf9e10ef6720d Merged-In: Icbf3e66e61e7ebb570ac3aba5f1cf9e10ef6720d
diff --git a/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service-lazy.rc b/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service-lazy.rc index abff430..3fe6b52 100644 --- a/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service-lazy.rc +++ b/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service-lazy.rc
@@ -7,4 +7,4 @@ user media group mediadrm drmrpc ioprio rt 4 - writepid /dev/cpuset/foreground/tasks \ No newline at end of file + task_profiles ProcessCapacityHigh
diff --git a/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service.rc b/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service.rc index 3718a93..bc62c7d 100644 --- a/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service.rc +++ b/tv/tuner/1.1/default/android.hardware.tv.tuner@1.1-service.rc
@@ -3,4 +3,4 @@ user media group mediadrm drmrpc ioprio rt 4 - writepid /dev/cpuset/foreground/tasks \ No newline at end of file + task_profiles ProcessCapacityHigh