summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@google.com>2022-03-30 14:46:57 +0000
committerBart Van Assche <bvanassche@google.com>2022-03-30 14:46:57 +0000
commitefee2add8d9280e2316acaa9652d4300bbbd6464 (patch)
tree1ed143b0a077b21e27970499f84461050fc9a67a /init.hardware.rc
parentf5542dd8373e688785298eca1c82ad12a38b50bb (diff)
Revert "Migrate the blkio controller to the cgroup v2 hierarchy"
Revert "Migrate the blkio controller to the cgroup v2 hierarchy" Revert submission 1962326-blkio-cgroup-v2 Reason for revert: This set of changes is suspected to have caused a redfin boot time regression for the git_tm-dev branch. Reverted Changes: Id18d876b6:Migrate the blkio controller to the cgroup v2 hier... I7dfa52136:Migrate the blkio controller to the v2 cgroup hier... I5336167be:Migrate the blkio controller to the cgroup v2 hier... I3f0131d8f:Migrate the blkio controller to the cgroup v2 hier... Ibb62b2d4d:Migrate the blkio controller to the cgroup v2 hier... Bug: 227382327 Change-Id: I2a0d8a45c10c00d4880daa8de2a6a2ce2e61134b
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index 4c3a8416..ad788c9c 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -508,6 +508,13 @@ on property:sys.boot_completed=1
write /dev/cpuset/system-background/cpus 2-5
write /dev/cpuset/restricted/cpus 2-5
+ # Setup final blkio
+ # value for group_idle is us
+ write /dev/blkio/blkio.weight 1000
+ write /dev/blkio/background/blkio.weight 200
+ write /dev/blkio/blkio.group_idle 2000
+ write /dev/blkio/background/blkio.group_idle 0
+
# QCOM FG SRAM dump for dumpstate
chown system system /d/fg/sram/data
chown system system /d/fg/sram/count