Files
runc/libcontainer/cgroups
Odin Ugedal 294c4866ea libct/cg/fs/freezer.GetState: report current cgroup state
If a control group is frozen, all its descendants will report FROZEN
in freezer.state cgroup file.

OTOH cgroup v2 cgroup.freeze is not reporting the cgroup as frozen
unless it is frozen directly (i.e. not via an ancestor).

Fix the discrepancy between v1 and v2 drivers behavior by
looking into freezer.self_freezing cgroup file, which, according
to kernel documentation, will show 1 iff the cgroup was frozen directly.

Co-authored-by: Kir Kolyshkin <kolyshkin@gmail.com>
Signed-off-by: Odin Ugedal <odin@uged.al>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-07-08 19:32:08 -07:00
..
2021-06-22 16:09:47 -07:00
2021-06-22 16:09:47 -07:00
2021-06-22 16:09:47 -07:00
2021-04-29 15:30:12 -07:00
2021-06-22 16:09:47 -07:00
2021-01-19 18:02:11 +01:00
2021-06-22 16:09:47 -07:00