chiark / gitweb /
core: add cgroup memory controller support on the unified hierarchy (#3315)
[elogind.git] / src / core / cgroup.h
index 2a9e7034a8099bfa9ad6a2d68f01f9f17b52ec09..68cb65007aba418bbfb7d9a1e913e9a578daa774 100644 (file)
@@ -95,6 +95,10 @@ struct CGroupContext {
         LIST_HEAD(CGroupIODeviceWeight, io_device_weights);
         LIST_HEAD(CGroupIODeviceLimit, io_device_limits);
 
+        uint64_t memory_low;
+        uint64_t memory_high;
+        uint64_t memory_max;
+
         /* For legacy hierarchies */
         uint64_t cpu_shares;
         uint64_t startup_cpu_shares;