From f23ba94db31feb0ede6524fdabd0efdb8344e90b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Koutn=C3=BD?= Date: Mon, 1 Jun 2020 17:33:51 +0200 Subject: 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/dbus-service.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/core/dbus-service.c') diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c index 3cc453dff5..09f88b385b 100644 --- a/src/core/dbus-service.c +++ b/src/core/dbus-service.c @@ -457,7 +457,6 @@ int bus_service_set_property( int bus_service_commit_properties(Unit *u) { assert(u); - unit_invalidate_cgroup_members_masks(u); unit_realize_cgroup(u); return 0; -- cgit v1.2.1