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:
parent
7d83a2b6a6
commit
0280d9cb17
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user