From 22f83eb7c33f56b6e001c17bf72b1d5e112e2228 Mon Sep 17 00:00:00 2001 From: Jake Weinstein Date: Sun, 21 Jul 2024 12:56:42 +0530 Subject: [PATCH] sm6375-common: 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. Change-Id: I0174beb11dae2109df4ddf65304bd50c5cc05264 --- rootdir/bin/init.blair.post_boot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/bin/init.blair.post_boot.sh b/rootdir/bin/init.blair.post_boot.sh index 0a88015..618ab49 100644 --- a/rootdir/bin/init.blair.post_boot.sh +++ b/rootdir/bin/init.blair.post_boot.sh @@ -23,3 +23,4 @@ echo 128 > /sys/block/dm-9/queue/read_ahead_kb # cpuset echo 0-1 > /dev/cpuset/background/cpus echo 0-3 > /dev/cpuset/system-background/cpus +echo 0-3 > /dev/cpuset/restricted/cpus