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/biometrics/face/1.0/default/android.hardware.biometrics.face@1.0-service.rc b/biometrics/face/1.0/default/android.hardware.biometrics.face@1.0-service.rc index 6c7362f..3fb827d 100644 --- a/biometrics/face/1.0/default/android.hardware.biometrics.face@1.0-service.rc +++ b/biometrics/face/1.0/default/android.hardware.biometrics.face@1.0-service.rc
@@ -5,6 +5,6 @@ class late_start user system group system - writepid /dev/cpuset/foreground/tasks + task_profiles ProcessCapacityHigh capabilities SYS_NICE rlimit rtprio 10 10
diff --git a/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc b/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc index 1667677..e7e8d30 100644 --- a/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc +++ b/biometrics/fingerprint/2.1/default/android.hardware.biometrics.fingerprint@2.1-service.rc
@@ -5,4 +5,4 @@ class late_start user system group system input uhid - writepid /dev/cpuset/system-background/tasks + task_profiles ServiceCapacityLow