sm6150-comon: rootdir: Modify the cpuset setting

Because the arch is similiar with SDM670, we aling the setting with
bonito.

Bug: 142552311
Test: build , munaual check the settings
Change-Id: Ica44125c8ed71a85cfd6bde77c9107bceed7b094
This commit is contained in:
Kyle Lin 2019-11-13 11:41:12 +08:00 committed by Arian
parent 7d83a2b6a6
commit 0280d9cb17
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -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