fix order of cpuset adjustments on launch

old-commit-hash: bc07f249827a71d1c0317a70167d46827d418ecf
This commit is contained in:
Adeeb Shihadeh
2020-10-15 16:10:21 -07:00
parent bc62d8c2e2
commit ce9369758e
+1 -1
View File
@@ -12,8 +12,8 @@ function two_init {
# Restrict Android and other system processes to the first two cores
echo 0-1 > /dev/cpuset/background/cpus
echo 0-1 > /dev/cpuset/system-background/cpus
echo 0-1 > /dev/cpuset/foreground/boost/cpus
echo 0-1 > /dev/cpuset/foreground/cpus
echo 0-1 > /dev/cpuset/foreground/boost/cpus
echo 0-1 > /dev/cpuset/android/cpus
# openpilot gets all the cores