X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fcgroup.h;h=dd8e436b969f45b91561893f702daa3ccd039f88;hb=109cb9ef1b95f791b8cad2fa2459882c122edc54;hp=c3b87bfc5ce5249b6c49013caf1ebd8fb501fa0f;hpb=8ba463e9bdde6e98e36124a5b2cf49ba1a2f7b88;p=elogind.git diff --git a/src/core/cgroup.h b/src/core/cgroup.h index c3b87bfc5..dd8e436b9 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); @@ -98,11 +102,11 @@ struct CGroupContext { uint64_t memory_low; uint64_t memory_high; uint64_t memory_max; + uint64_t memory_swap_max; /* 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;