From e98e50ce4925a7765e897f9ff20d7e5f035ef90c Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Mon, 5 Jun 2023 14:08:01 +0300 Subject: [PATCH] sm8350-common: rootdir: Do not allow restricted tasks to run on big cores The restricted cpuset is for system tasks that are throttled because the screen is off. Google only runs these tasks on the little cluster to save power and we will follow suit. --- rootdir/bin/init.kernel.post_boot-lahaina.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/bin/init.kernel.post_boot-lahaina.sh b/rootdir/bin/init.kernel.post_boot-lahaina.sh index c79fc04..8380ee3 100755 --- a/rootdir/bin/init.kernel.post_boot-lahaina.sh +++ b/rootdir/bin/init.kernel.post_boot-lahaina.sh @@ -192,6 +192,7 @@ echo 325 > /proc/sys/kernel/walt_low_latency_task_threshold # cpuset parameters echo 0-3 > /dev/cpuset/background/cpus +echo 0-3 > /dev/cpuset/restricted/cpus echo 0-3 > /dev/cpuset/system-background/cpus # configure governor settings for silver cluster