Revert^3 "libprocessgroup: move freezer to uid/pid hierarchy"

This reverts commit 7707909ba2.
Bug: 179006802
Test: verified correct functioning of the freezer after reverting

Change-Id: I848146a18a0879010abf5b00e7081f2771059064
This commit is contained in:
Marco Ballesio 2021-02-04 11:26:05 -08:00
parent df33cb98ef
commit 079477468f
2 changed files with 8 additions and 8 deletions

View File

@ -42,7 +42,7 @@
"Controllers": [
{
"Controller": "freezer",
"Path": ".",
"Path": "freezer",
"Mode": "0755",
"UID": "system",
"GID": "system"

View File

@ -46,7 +46,7 @@
"File": "cpu.uclamp.latency_sensitive"
},
{
"Name": "Freezer",
"Name": "FreezerState",
"Controller": "freezer",
"File": "cgroup.freeze"
}
@ -70,11 +70,11 @@
"Name": "Frozen",
"Actions": [
{
"Name": "SetAttribute",
"Name": "JoinCgroup",
"Params":
{
"Name": "Freezer",
"Value": "1"
"Controller": "freezer",
"Path": ""
}
}
]
@ -83,11 +83,11 @@
"Name": "Unfrozen",
"Actions": [
{
"Name": "SetAttribute",
"Name": "JoinCgroup",
"Params":
{
"Name": "Freezer",
"Value": "0"
"Controller": "freezer",
"Path": "../"
}
}
]