diff options
author | guibing <guibing@google.com> | 2023-05-16 18:38:34 +0000 |
---|---|---|
committer | guibing <guibing@google.com> | 2023-05-16 18:44:32 +0000 |
commit | 28033116e69ec7bd19dabe45e94b5672cd1dc704 (patch) | |
tree | 554b2bde839e4bc633e08893ae8da86ac9f8e88c | |
parent | 7bc2dc895e10ff9c3361165e6b56474fbb0c3f49 (diff) |
Move tasks back to root cpu cgroup from system cgroup.
All tasks got moved to system group at init stage because it was
using cpu.shares previously. Since we are not using cpu.shares
now, move the tasks back to root group, so that it can reduce some
util calculation cost.
Bug: 281598730
Test: cat /dev/cpuctl/tasks
cat /dev/cpuctl/system/tasks
Change-Id: I1880b3097cf7922d4eda3d9f15fa3f9f6a648964
-rw-r--r-- | common/init.pixel.rc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/init.pixel.rc b/common/init.pixel.rc index 640212c..1296e73 100644 --- a/common/init.pixel.rc +++ b/common/init.pixel.rc @@ -8,10 +8,3 @@ on property:ota.warm_reset=1 on property:ota.warm_reset=0 write /sys/module/msm_poweroff/parameters/warm_reset 0 - -on init - copy_per_line /dev/cpuctl/tasks /dev/cpuctl/system/tasks - -# Migrate tasks again in case kernel threads are created during boot -on property:sys.boot_completed=1 - copy_per_line /dev/cpuctl/tasks /dev/cpuctl/system/tasks |