X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore%2Fcgroup.h;h=3bcf6868137b3bb07d2143753fe4a7ab439454e9;hb=e916c1378b697b1f267d021a823bbfcb5ac8376c;hp=f70a6a996ffafd1751126606353d2d521bc965af;hpb=5e1305e0bba2fe1087cbd7237c6c5b2f65c48d7f;p=elogind.git diff --git a/src/core/cgroup.h b/src/core/cgroup.h index f70a6a996..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); @@ -98,12 +102,10 @@ 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;