libprocessgroup: Replace stune with utilclamp profiles

Replace schedtune out-of-tree controller's usage in the performance
profiles with utilclamp controller. Stop mounting schedtune controller.

Bug: 170507876
Test: cpuctl groups worked
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ib7fa6c902581398587c75414845c2ff6c8bdb005
This commit is contained in:
Suren Baghdasaryan 2019-06-18 13:33:23 -07:00
parent 4e4cff7e46
commit 1b53c2496d
2 changed files with 26 additions and 25 deletions

View File

@ -32,13 +32,6 @@
"Mode": "0700",
"UID": "root",
"GID": "system"
},
{
"Controller": "schedtune",
"Path": "/dev/stune",
"Mode": "0755",
"UID": "system",
"GID": "system"
}
],
"Cgroups2": {

View File

@ -30,16 +30,6 @@
"Controller": "memory",
"File": "memory.swappiness"
},
{
"Name": "STuneBoost",
"Controller": "schedtune",
"File": "schedtune.boost"
},
{
"Name": "STunePreferIdle",
"Controller": "schedtune",
"File": "schedtune.prefer_idle"
},
{
"Name": "UClampMin",
"Controller": "cpu",
@ -50,6 +40,11 @@
"Controller": "cpu",
"File": "cpu.uclamp.max"
},
{
"Name": "UClampLatencySensitive",
"Controller": "cpu",
"File": "cpu.uclamp.latency_sensitive"
},
{
"Name": "FreezerState",
"Controller": "freezer",
@ -65,7 +60,7 @@
"Name": "JoinCgroup",
"Params":
{
"Controller": "schedtune",
"Controller": "cpu",
"Path": "background"
}
}
@ -104,7 +99,7 @@
"Name": "JoinCgroup",
"Params":
{
"Controller": "schedtune",
"Controller": "cpu",
"Path": ""
}
}
@ -117,7 +112,7 @@
"Name": "JoinCgroup",
"Params":
{
"Controller": "schedtune",
"Controller": "cpu",
"Path": "foreground"
}
}
@ -130,7 +125,7 @@
"Name": "JoinCgroup",
"Params":
{
"Controller": "schedtune",
"Controller": "cpu",
"Path": "top-app"
}
}
@ -143,7 +138,7 @@
"Name": "JoinCgroup",
"Params":
{
"Controller": "schedtune",
"Controller": "cpu",
"Path": "rt"
}
}
@ -156,12 +151,25 @@
"Name": "JoinCgroup",
"Params":
{
"Controller": "schedtune",
"Controller": "cpu",
"Path": "camera-daemon"
}
}
]
},
{
"Name": "NNApiHALPerformance",
"Actions": [
{
"Name": "JoinCgroup",
"Params":
{
"Controller": "cpu",
"Path": "nnapi-hal"
}
}
]
},
{
"Name": "CpuPolicySpread",
@ -170,7 +178,7 @@
"Name": "SetAttribute",
"Params":
{
"Name": "STunePreferIdle",
"Name": "UClampLatencySensitive",
"Value": "1"
}
}
@ -183,7 +191,7 @@
"Name": "SetAttribute",
"Params":
{
"Name": "STunePreferIdle",
"Name": "UClampLatencySensitive",
"Value": "0"
}
}