Revert "Move tasks from cpuset root group to system group"
Revert submission 26931570-cpuset_system_group Reason for revert: b/335346990 suspend/resume ramdump or black screen Reverted changes: /q/submissionid:26931570-cpuset_system_group Change-Id: I41b3eaeddba8725defa742c5bd4c5377ac3a33fe
This commit is contained in:
parent
6f882f635b
commit
c0a451d4f2
2 changed files with 0 additions and 28 deletions
|
@ -1,16 +1,4 @@
|
|||
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/spc_threshold
|
||||
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
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Move remaining tasks
|
||||
copy_per_line /dev/cpuset/tasks /dev/cpuset/system/tasks
|
||||
|
||||
# Set kswapd affinity
|
||||
write /sys/kernel/vendor_mm/kswapd_cpu_affinity 7f
|
||||
|
||||
|
|
|
@ -1,18 +1,5 @@
|
|||
{
|
||||
"Profiles": [
|
||||
{
|
||||
"Name": "ProcessCapacityNormal",
|
||||
"Actions": [
|
||||
{
|
||||
"Name": "JoinCgroup",
|
||||
"Params":
|
||||
{
|
||||
"Controller": "cpuset",
|
||||
"Path": "system"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "MaxPerformance",
|
||||
"Actions": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue