X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fcgroup.h;h=3bcf6868137b3bb07d2143753fe4a7ab439454e9;hb=28ab6b18f80679b2211923bc96e2db524f506d20;hp=3b6299f2f5d2926a0eabc65488d3590c60d1a603;hpb=30fb922577767f16df17db0e8316ac0a1f269408;p=elogind.git diff --git a/src/core/cgroup.h b/src/core/cgroup.h index 3b6299f2f..3bcf68681 100644 --- a/src/core/cgroup.h +++ b/src/core/cgroup.h @@ -90,6 +90,10 @@ struct CGroupContext { bool tasks_accounting; /* For unified hierarchy */ + uint64_t cpu_weight; + uint64_t startup_cpu_weight; + usec_t cpu_quota_per_sec_usec; + uint64_t io_weight; uint64_t startup_io_weight; LIST_HEAD(CGroupIODeviceWeight, io_device_weights); @@ -102,7 +106,6 @@ struct CGroupContext { /* For legacy hierarchies */ uint64_t cpu_shares; uint64_t startup_cpu_shares; - usec_t cpu_quota_per_sec_usec; uint64_t blockio_weight; uint64_t startup_blockio_weight; @@ -179,7 +182,6 @@ bool unit_cgroup_delegate(Unit *u); int unit_notify_cgroup_empty(Unit *u); #endif // 0 - int manager_notify_cgroup_empty(Manager *m, const char *group); #if 0 /// UNNEEDED by elogind