Skip to content

Commit

Permalink
z2_plus: Update cpusets at boot complete
Browse files Browse the repository at this point in the history
We don't need aggressive load balancing during boot, only after boot has
been completed.

bug 30040263

Change-Id: Id22ac312751983f774208399b1673459e2351b93
  • Loading branch information
Tim Murray authored and dmd79 committed Jan 31, 2017
1 parent 6c1c200 commit e0124cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rootdir/init.qcom.power.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e0124cc

Please sign in to comment.