diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index 78c778d..d32162e 100644 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -176,8 +176,11 @@ case "$soc_id" in done # cpuset parameters - echo 0-5 > /dev/cpuset/background/cpus - echo 0-5 > /dev/cpuset/system-background/cpus + echo 0-7 > /dev/cpuset/top-app/cpus + echo 0-5,7 > /dev/cpuset/foreground/cpus + echo 4-5 > /dev/cpuset/background/cpus + echo 2-5 > /dev/cpuset/system-background/cpus + echo 2-5 > /dev/cpuset/restricted/cpus # Turn on sleep modes. echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled @@ -288,10 +291,10 @@ case "$soc_id" in # cpuset parameters echo 0-7 > /dev/cpuset/top-app/cpus - echo 0-2,4-7 > /dev/cpuset/foreground/cpus - echo 0-2 > /dev/cpuset/background/cpus - echo 0-3 > /dev/cpuset/system-background/cpus - echo 0-3 > /dev/cpuset/restricted/cpus + echo 0-5,7 > /dev/cpuset/foreground/cpus + echo 4-5 > /dev/cpuset/background/cpus + echo 2-5 > /dev/cpuset/system-background/cpus + echo 2-5 > /dev/cpuset/restricted/cpus # Turn on sleep modes. echo 0 > /sys/module/lpm_levels/parameters/sleep_disabled