aboutsummaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.power_msm8939.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/etc/init.qcom.power_msm8939.rc')
-rw-r--r--rootdir/etc/init.qcom.power_msm8939.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.power_msm8939.rc b/rootdir/etc/init.qcom.power_msm8939.rc
index 75329d0..37add80 100644
--- a/rootdir/etc/init.qcom.power_msm8939.rc
+++ b/rootdir/etc/init.qcom.power_msm8939.rc
@@ -68,6 +68,12 @@ on enable-low-power
# Enable low power modes
write /sys/module/lpm_levels/parameters/sleep_disabled 0
+ # Update foreground and background cpusets
+ write /dev/cpuset/foreground/cpus 0-7
+ write /dev/cpuset/foreground/boost/cpus 0-3
+ write /dev/cpuset/background/cpus 4
+ write /dev/cpuset/system-background/cpus 4-7
+
# Per-process reclaim
write /sys/module/process_reclaim/parameters/enable_process_reclaim 1
write /sys/module/process_reclaim/parameters/pressure_min 10