aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2016-07-28 09:26:20 -0700
committerdavidevinavil <davidevinavil@gmail.com>2017-01-31 12:23:49 +0100
commite0124cc337b0a7d7c4ab2deaee45e367a5a75bad (patch)
tree557b466ae31e28172a8fc2d7a7a0aeeee26b3ff4
parent6c1c200387e2cd7808ce674c6bed0aaf000b1c9f (diff)
z2_plus: Update cpusets at boot complete
We don't need aggressive load balancing during boot, only after boot has been completed. bug 30040263 Change-Id: Id22ac312751983f774208399b1673459e2351b93
-rwxr-xr-xrootdir/init.qcom.power.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/rootdir/init.qcom.power.rc b/rootdir/init.qcom.power.rc
index 3f008ab..c64643f 100755
--- a/rootdir/init.qcom.power.rc
+++ b/rootdir/init.qcom.power.rc
@@ -133,6 +133,13 @@ on class_start:late_start
trigger enable-low-power
+ # Update cpusets now that boot is complete and we want better load balancing
+ write /dev/cpuset/top-app/cpus 0-3
+ write /dev/cpuset/foreground/boost/cpus 0-3
+ write /dev/cpuset/foreground/cpus 0-3
+ write /dev/cpuset/background/cpus 0
+ write /dev/cpuset/system-background/cpus 0-3
+
on property:init.svc.recovery=running
trigger enable-low-power