From c82cb6f4bd7864dcbef02505ffcac7c50339c1fb Mon Sep 17 00:00:00 2001 From: Suren Baghdasaryan Date: Sun, 10 Oct 2021 06:26:22 +0000 Subject: [PATCH] sm7250-common: 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: I22cbf3383f3686c4964e4b55e53d4cdb8ea5a7da Signed-off-by: chandu078 Signed-off-by: firebird11 --- rootdir/etc/init.qcom.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 1072a23..e6f2663 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -997,7 +997,7 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct oem_2901 wakelock capabilities BLOCK_SUSPEND ioprio rt 4 - writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks + task_profiles ProcessCapacityHigh HighPerformance onrestart restart audioserver on property:init.svc.cnss_diag=running