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

This reverts commit b01aa99408.

Reason for revert: blocking issue was resolved https://partner-android-review.googlesource.com/c/kernel/private/gs-google/+/1846507

Change-Id: If125fe9af53e2b519955f021208d5d5530c6277e
This commit is contained in:
Marco Ballesio 2021-01-26 22:25:11 +00:00
parent a1a0497984
commit 7707909ba2
2 changed files with 8 additions and 8 deletions

View file

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

View file

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