]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup: Introduce family queueing instead of siblings
authorMichal Koutný <mkoutny@suse.com>
Thu, 21 May 2020 11:24:43 +0000 (13:24 +0200)
committerMichal Koutný <mkoutny@suse.com>
Wed, 19 Aug 2020 09:41:53 +0000 (11:41 +0200)
commit4c591f3996dc8a3c06f95b13c044d97d94b4be4c
tree3a81569d3041cb55c5f5291a713e00268f93112c
parentf23ba94db31feb0ede6524fdabd0efdb8344e90b
cgroup: Introduce family queueing instead of siblings

The unit_add_siblings_to_cgroup_realize_queue does more than mere
siblings queueing, hence define a family of a unit as (immediate)
children of the unit and immediate children of all ancestors.

Working with this abstraction simplifies the queuing calls and it
shouldn't change the functionality.
src/core/cgroup.c
src/core/cgroup.h
src/core/unit.c