From ecf1544b3ba7a1cf7d9596ff80f92400ba48a2f0 Mon Sep 17 00:00:00 2001 From: Subhajeet Muhuri Date: Wed, 26 Aug 2020 11:10:57 +0530 Subject: [PATCH] sm6250-common: Switch to sunfish cpuset setup Signed-off-by: Subhajeet Muhuri --- rootdir/bin/init.qcom.post_boot.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rootdir/bin/init.qcom.post_boot.sh b/rootdir/bin/init.qcom.post_boot.sh index c240a69..d1e4e68 100644 --- a/rootdir/bin/init.qcom.post_boot.sh +++ b/rootdir/bin/init.qcom.post_boot.sh @@ -234,10 +234,11 @@ function configure_memory_parameters() { done # cpuset parameters - echo 0-2 > /dev/cpuset/background/cpus - echo 0-3 > /dev/cpuset/system-background/cpus - echo 0-2,4-7 > /dev/cpuset/foreground/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