chiark / gitweb /
cgroup: rework startup logic
[elogind.git] / src / core / manager.h
index 14cdf81512878c6cdafdbd3040796ef58d7a8c70..ab4cafc3aee182fc228621a7d90f15c4e3c3a9f5 100644 (file)
@@ -116,6 +116,9 @@ struct Manager {
         Hashmap *watch_pids1;  /* pid => Unit object n:1 */
         Hashmap *watch_pids2;  /* pid => Unit object n:1 */
 
+        /* A set contains all units which cgroup should be refreshed after startup */
+        Set *startup_units;
+
         /* A set which contains all currently failed units */
         Set *failed_units;
 
@@ -240,6 +243,7 @@ struct Manager {
         bool default_cpu_accounting;
         bool default_memory_accounting;
         bool default_blockio_accounting;
+        usec_t default_cpu_quota_period_usec;
 
         usec_t default_timer_accuracy_usec;