From d7d3010c450d46914118a82b09434cc72d8f0933 Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Thu, 17 Jun 2021 19:25:28 -0700 Subject: [PATCH] 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 Change-Id: I9e89fc0f3dc1b4e970cf3a5982ed7f177d2c392c --- vold.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vold.rc b/vold.rc index 93d8786..0252c2f 100644 --- a/vold.rc +++ b/vold.rc @@ -3,6 +3,6 @@ service vold /system/bin/vold \ --fsck_context=u:r:fsck:s0 --fsck_untrusted_context=u:r:fsck_untrusted:s0 class core ioprio be 2 - writepid /dev/cpuset/foreground/tasks + task_profiles ProcessCapacityHigh shutdown critical group root reserved_disk