]> err.no Git - systemd/commit
cgroup: immediately remove all cgroups which run empty
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Nov 2011 18:42:53 +0000 (19:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 Nov 2011 18:42:53 +0000 (19:42 +0100)
commit353fa6a21aab96b0b82ab40cc22b08b1fb0bf652
treeb71298767f207b22e797675d9053c8aff2b02852
parent263653e10353d8ad155f1faba01981816a2bb712
cgroup: immediately remove all cgroups which run empty

Some controllers have scaling problems when many empty cgroups exist.
Hence, as soon as we get a notification that a cgroup is empty, delete
it. This is also nice to keep the systemd-cgls output short.
src/cgroup.c