diff options
author | Tim Murray <timmurray@google.com> | 2016-07-28 09:26:20 -0700 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-08-04 11:38:38 +0200 |
commit | c826ce21bf689ef52b11739d17c40c019f53f9ec (patch) | |
tree | 46e437d3042741e3d860182ec8eb67b994fa9d22 /rootdir | |
parent | 2462550d51a2bac57dcc658c43dc07d93ec82c72 (diff) |
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
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/etc/init.qcom.power.rc | 6 |
1 files changed, 6 insertions, 0 deletions
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 |