diff options
author | Rick Yiu <rickyiu@google.com> | 2023-05-19 03:03:50 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-05-21 06:03:50 +0000 |
commit | 05e1eca61701fe32a288a7702b7aa3395ceb9ec1 (patch) | |
tree | 4706db6412b7c4c84975141b5cffc143e52df422 | |
parent | 04c944cf478ff5d962706f77f8e3376b1428cf29 (diff) |
Revert "Move tasks back to root cpu cgroup from system cgroup."
This reverts commit 28033116e69ec7bd19dabe45e94b5672cd1dc704.
Reason for revert: power regression due to uclamp.min being max
Bug: 283231142
Test: issue fixed
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f192832839db2432eafd39a90cbe65be09131580)
Merged-In: Idb40096395fae02bdac12bd50c0cf59959e5afb7
Change-Id: Idb40096395fae02bdac12bd50c0cf59959e5afb7
-rw-r--r-- | common/init.pixel.rc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/init.pixel.rc b/common/init.pixel.rc index 1296e73..640212c 100644 --- a/common/init.pixel.rc +++ b/common/init.pixel.rc @@ -8,3 +8,10 @@ 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 |