summaryrefslogtreecommitdiffstats
blob: 06f4177f0c593ee263a8d887c74a9573f30a93e0 (plain) (blame)
1
2
3
4
5
#!/system/bin/sh

# Assign all CPUs for foreground (J6 and J6 Eco have different number of cores)
cat /sys/devices/system/cpu/present > /dev/cpuset/foreground/cpus
cat /sys/devices/system/cpu/present > /dev/cpuset/foreground/boost/cpus