From e0124cc337b0a7d7c4ab2deaee45e367a5a75bad Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Thu, 28 Jul 2016 09:26:20 -0700 Subject: [PATCH] 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 --- rootdir/init.qcom.power.rc | 7 +++++++ 1 file changed, 7 insertions(+) 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