This patchset adds cgroup v2 support to cgclear.

I think it's best to continue support of cgclear through one
more release, but long term I think this is a tool that should
be deprecated.  It was written at a time when controllers
weren't automatically and the creating/deleting of cgroups was
more onerous.  Now with systemd providing cgroup management,
cgclear no longer makes sense.

The code changes are available here:
https://github.com/drakenclimber/libcgroup/tree/issues/cgclear

The automated test changes are available here:
https://github.com/drakenclimber/libcgroup-tests/tree/issues/cgclear

The automated tests are passing and the results are available
here:
https://github.com/drakenclimber/libcgroup/runs/2188397120

Overall code coverage increased from 50.2% to 50.9%.  Coverage
on cgclear.c now stands at 40.0%:
https://coveralls.io/builds/38227279

Tom Hromatka (3):
  config.c: Add cgroup v2 support to cgclear
  config.c: Ignore systemd cgroups in cgroup_unload_cgroups()
  github: Run the cgclear functional test last

 .github/workflows/continuous-integration.yml | 12 ++++++++++--
 src/config.c                                 | 16 ++++++++++++++++
 2 files changed, 26 insertions(+), 2 deletions(-)

-- 
2.26.2



_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to