From c826ce21bf689ef52b11739d17c40c019f53f9ec Mon Sep 17 00:00:00 2001 From: Tim Murray Date: Thu, 28 Jul 2016 09:26:20 -0700 Subject: msm8996-common: 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/etc/init.qcom.power.rc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'rootdir') diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index cdd10d1..e1ab531 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -176,6 +176,12 @@ on property:sys.boot_completed=1 # Start I/O prefetcher service start iop + # 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/cpus 0-2 + write /dev/cpuset/background/cpus 0 + write /dev/cpuset/system-background/cpus 0-1 + on property:init.svc.recovery=running trigger enable-low-power -- cgit v1.2.3