diff options
author | Suren Baghdasaryan <surenb@google.com> | 2021-06-17 19:19:34 -0700 |
---|---|---|
committer | Suren Baghdasaryan <surenb@google.com> | 2021-10-22 00:34:50 +0000 |
commit | 0263f397e82c9b1b89de4d85b9eaf30fd9244df7 (patch) | |
tree | 8dae098e6653f5bd99188c410c6278f4248f679e | |
parent | 41838e39d6881e3738304c0e7c59f33e3eebd44b (diff) | |
download | iorap-0263f397e82c9b1b89de4d85b9eaf30fd9244df7.tar.gz |
Replace writepid with task_profiles command for cgroup migrationandroid-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1
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: I69c376d3fb9c5dc29bce5ffb2a54cd0038e545c4
-rw-r--r-- | iorapd.rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ service iorapd /system/bin/iorapd user iorapd group iorapd capabilities DAC_READ_SEARCH - writepid /dev/cpuset/system-background/tasks + task_profiles ServiceCapacityLow # TODO: should this be something else like performance/tasks? # the main 'activity hint' thread needs to be fairly high priority to kick off # tracing or prefetching asap. |