Merge "Revert "Move tasks from cpuset root group to system group"" into 24D1-dev
This commit is contained in:
commit
57aba240df
2 changed files with 0 additions and 28 deletions
|
@ -1,16 +1,4 @@
|
||||||
on init
|
on init
|
||||||
# Move cpuset root group to system group
|
|
||||||
mkdir /dev/cpuset/system
|
|
||||||
copy /dev/cpuset/cpus /dev/cpuset/system/cpus
|
|
||||||
copy /dev/cpuset/mems /dev/cpuset/system/mems
|
|
||||||
chown system system /dev/cpuset/system
|
|
||||||
chown system system /dev/cpuset/system/tasks
|
|
||||||
chown system system /dev/cpuset/system/cgroup.procs
|
|
||||||
chmod 0664 /dev/cpuset/system/tasks
|
|
||||||
chmod 0664 /dev/cpuset/system/cgroup.procs
|
|
||||||
|
|
||||||
copy_per_line /dev/cpuset/tasks /dev/cpuset/system/tasks
|
|
||||||
|
|
||||||
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold
|
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/lcpi_threshold
|
||||||
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold
|
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/spc_threshold
|
||||||
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/limit_frequency
|
chown system system /sys/devices/system/cpu/cpufreq/policy0/sched_pixel/limit_frequency
|
||||||
|
@ -162,9 +150,6 @@ on property:init.svc.vendor.charger=running
|
||||||
write /sys/devices/system/cpu/cpu6/online 0
|
write /sys/devices/system/cpu/cpu6/online 0
|
||||||
|
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
# Move remaining tasks
|
|
||||||
copy_per_line /dev/cpuset/tasks /dev/cpuset/system/tasks
|
|
||||||
|
|
||||||
# Set kswapd affinity
|
# Set kswapd affinity
|
||||||
write /sys/kernel/vendor_mm/kswapd_cpu_affinity 7f
|
write /sys/kernel/vendor_mm/kswapd_cpu_affinity 7f
|
||||||
|
|
||||||
|
|
|
@ -1,18 +1,5 @@
|
||||||
{
|
{
|
||||||
"Profiles": [
|
"Profiles": [
|
||||||
{
|
|
||||||
"Name": "ProcessCapacityNormal",
|
|
||||||
"Actions": [
|
|
||||||
{
|
|
||||||
"Name": "JoinCgroup",
|
|
||||||
"Params":
|
|
||||||
{
|
|
||||||
"Controller": "cpuset",
|
|
||||||
"Path": "system"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"Name": "MaxPerformance",
|
"Name": "MaxPerformance",
|
||||||
"Actions": [
|
"Actions": [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue