]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup: Implicit unit_invalidate_cgroup_members_masks
authorMichal Koutný <mkoutny@suse.com>
Mon, 1 Jun 2020 15:33:51 +0000 (17:33 +0200)
committerMichal Koutný <mkoutny@suse.com>
Wed, 19 Aug 2020 09:41:53 +0000 (11:41 +0200)
commitf23ba94db31feb0ede6524fdabd0efdb8344e90b
treebd55c797ae82b612ac2f09644e290eedc81d060d
parentfb46fca7e0c484026bbc9e196aee118800186768
cgroup: Implicit unit_invalidate_cgroup_members_masks

Merge members mask invalidation into
unit_add_siblings_to_cgroup_realize_queue, this way unit_realize_cgroup
needn't be called with members mask invalidation.

We have to retain the members mask invalidation in unit_load -- although
active units would have cgroups (re)realized (unit_load queues for
realization), the realization would happen with potentially stale mask.
src/core/cgroup.c
src/core/dbus-mount.c
src/core/dbus-scope.c
src/core/dbus-service.c
src/core/dbus-slice.c
src/core/dbus-socket.c
src/core/dbus-swap.c
src/core/unit.c