diff options
author | Michal Koutný <mkoutny@suse.com> | 2020-06-01 17:33:51 +0200 |
---|---|---|
committer | Michal Koutný <mkoutny@suse.com> | 2020-08-19 11:41:53 +0200 |
commit | f23ba94db31feb0ede6524fdabd0efdb8344e90b (patch) | |
tree | bd55c797ae82b612ac2f09644e290eedc81d060d /src/core/dbus-slice.c | |
parent | fb46fca7e0c484026bbc9e196aee118800186768 (diff) | |
download | systemd-f23ba94db31feb0ede6524fdabd0efdb8344e90b.tar.gz |
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.
Diffstat (limited to 'src/core/dbus-slice.c')
-rw-r--r-- | src/core/dbus-slice.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/dbus-slice.c b/src/core/dbus-slice.c index effd5fa5d7..28a6a4fe5a 100644 --- a/src/core/dbus-slice.c +++ b/src/core/dbus-slice.c @@ -28,7 +28,6 @@ int bus_slice_set_property( int bus_slice_commit_properties(Unit *u) { assert(u); - unit_invalidate_cgroup_members_masks(u); unit_realize_cgroup(u); return 0; |