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

This commit is contained in:
Marco Ballesio 2020-12-03 22:52:19 +00:00 committed by Gerrit Code Review
commit 382d70e770
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"
}
}
]