diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-14 18:03:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-14 18:03:35 -0400 |
commit | 5f9a610ad2b3200a31bbd9181c810726eeb30385 (patch) | |
tree | 4f8b0e5a15d297dcf2d69802cdc9b7e08524384d /src/core/cgroup.h | |
parent | 04d0f7e9f9e2d68502f322b8f494c652cbeb5146 (diff) | |
parent | 66ebf6c0a1005f90099e25ece5630551ad97a3c3 (diff) |
Merge pull request #3905 from htejun/cgroup-v2-cpu
core: add cgroup CPU controller support on the unified hierarchy
(zj: merging not squashing to make it clear against which upstream this patch was developed.)
Diffstat (limited to 'src/core/cgroup.h')
-rw-r--r-- | src/core/cgroup.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/cgroup.h b/src/core/cgroup.h index a57403e79f..2fe9cc4039 100644 --- a/src/core/cgroup.h +++ b/src/core/cgroup.h @@ -89,6 +89,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); @@ -101,7 +105,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; |